mon_cpuinfo takes a decimal
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2010 01:21:34 +0000 (17:21 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 4 Feb 2010 01:22:17 +0000 (17:22 -0800)
Instead of hex.

kern/src/monitor.c

index 707f1b1..fced38a 100644 (file)
@@ -198,7 +198,7 @@ int mon_cpuinfo(int argc, char **argv, trapframe_t *tf)
        if (argc < 2)
                smp_call_function_self(test_print_info_handler, NULL, 0);
        else
-               smp_call_function_single(strtol(argv[1], 0, 16),
+               smp_call_function_single(strtol(argv[1], 0, 10),
                                         test_print_info_handler, NULL, 0);
 #endif
        return 0;