fix the 'cache_ref' and 'cache' kdl commands

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19546 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Travis Geiselbrecht
2006-12-18 04:29:39 +00:00
parent 6d1fea3553
commit c3a89b90d3
+2 -2
View File
@@ -1818,7 +1818,7 @@ dump_cache_ref(int argc, char **argv)
return 0;
}
address = atoul(argv[1]);
address = strtoul(argv[1], NULL, 0);
cache_ref = (vm_cache_ref *)address;
kprintf("cache_ref at %p:\n", cache_ref);
@@ -1880,7 +1880,7 @@ dump_cache(int argc, char **argv)
return 0;
}
address = atoul(argv[1]);
address = strtoul(argv[1], NULL, 0);
cache = (vm_cache *)address;
kprintf("cache at %p:\n", cache);