Fixed "team" debugger command (should be the last one)

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7625 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2004-05-21 10:17:08 +00:00
parent fdaf57f5a5
commit 389b7216d6

View File

@ -99,7 +99,7 @@ dump_team_info(int argc, char **argv)
// if the argument looks like a hex number, treat it as such
if (strlen(argv[1]) > 2 && argv[1][0] == '0' && argv[1][1] == 'x') {
num = atoul(argv[1]);
num = strtoul(argv[1], NULL, 16);
if (num > vm_get_kernel_aspace()->virtual_map.base) {
// XXX semi-hack
_dump_team_info((struct team*)num);