[PATCH 17/24] pcm043: fix printf compiler warnings
Sascha Hauer
s.hauer at pengutronix.de
Fri Jan 7 05:43:57 EST 2011
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
arch/arm/boards/pcm043/pcm043.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/boards/pcm043/pcm043.c b/arch/arm/boards/pcm043/pcm043.c
index 38f1b8f..36bde45 100644
--- a/arch/arm/boards/pcm043/pcm043.c
+++ b/arch/arm/boards/pcm043/pcm043.c
@@ -354,7 +354,7 @@ static int do_cpufreq(struct command *cmdtp, int argc, char *argv[])
return COMMAND_ERROR_USAGE;
}
- printf("Switched CPU frequency to %dMHz\n", freq);
+ printf("Switched CPU frequency to %ldMHz\n", freq);
return 0;
}
--
1.7.2.3
More information about the barebox
mailing list