diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp index 8729d7c193..132952238d 100644 --- a/src/system/kernel/vm/vm.cpp +++ b/src/system/kernel/vm/vm.cpp @@ -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);