[PATCH 16/24] guf-cupid: fix printf compiler warnings

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 7 05:43:56 EST 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/arm/boards/guf-cupid/board.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boards/guf-cupid/board.c b/arch/arm/boards/guf-cupid/board.c
index 6d7a99b..e30f8e5 100644
--- a/arch/arm/boards/guf-cupid/board.c
+++ b/arch/arm/boards/guf-cupid/board.c
@@ -408,7 +408,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