summaryrefslogtreecommitdiff
path: root/common/cmd_mp.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-07-14 14:03:02 -0500
committerWolfgang Denk <wd@denx.de>2008-07-14 23:01:01 +0200
commit348753d416cd2c9e7ec6520a544c8f33cf02a560 (patch)
treefecefff0a3a1902067d233672d7e23ffc65f10c8 /common/cmd_mp.c
parent45b16d22c64674ccd8c4637456a987463609141c (diff)
Fix some more printf() format problems.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'common/cmd_mp.c')
-rw-r--r--common/cmd_mp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_mp.c b/common/cmd_mp.c
index 26a57c5e96c..b2a397cdfbd 100644
--- a/common/cmd_mp.c
+++ b/common/cmd_mp.c
@@ -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;
}