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:
@@ -155,11 +155,11 @@ dump_teams(int argc, char **argv)
|
|||||||
struct hash_iterator iterator;
|
struct hash_iterator iterator;
|
||||||
struct team *team;
|
struct team *team;
|
||||||
|
|
||||||
kprintf("team id parent name\n");
|
kprintf("team id parent name\n");
|
||||||
hash_open(sTeamHash, &iterator);
|
hash_open(sTeamHash, &iterator);
|
||||||
|
|
||||||
while ((team = (struct team*)hash_next(sTeamHash, &iterator)) != NULL) {
|
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);
|
hash_close(sTeamHash, &iterator, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user