The KDL command "teams" now also prints the team ID in decimal rather than hex.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22944 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2007-11-18 11:57:35 +00:00
parent 7f07482988
commit 79939c8d1e
+2 -2
View File
@@ -155,11 +155,11 @@ dump_teams(int argc, char **argv)
struct hash_iterator iterator;
struct team *team;
kprintf("team id parent name\n");
kprintf("team id parent name\n");
hash_open(sTeamHash, &iterator);
while ((team = (struct team*)hash_next(sTeamHash, &iterator)) != NULL) {
kprintf("%p%6lx %p %s\n", team, team->id, team->parent, team->name);
kprintf("%p%7ld %p %s\n", team, team->id, team->parent, team->name);
}
hash_close(sTeamHash, &iterator, false);