]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/cmd_mp.c
Fix some more printf() format problems.
[karo-tx-uboot.git] / common / cmd_mp.c
index 26a57c5e96c7ae00d8cad546710f0e409d1dbdf6..b2a397cdfbd23cae642b60ee34f85ce9fc45af6d 100644 (file)
@@ -35,7 +35,7 @@ cpu_cmd(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
        cpuid = simple_strtoul(argv[1], NULL, 10);
        if (cpuid >= CONFIG_NR_CPUS) {
-               printf ("Core num: %d is out of range[0..%d]\n",
+               printf ("Core num: %lu is out of range[0..%d]\n",
                                cpuid, CONFIG_NR_CPUS - 1);
                return 1;
        }