[PATCH 23/24] mpc5xxx: fix printf compiler warnings

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 7 05:44:03 EST 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 arch/ppc/mach-mpc5xxx/cpu.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ppc/mach-mpc5xxx/cpu.c b/arch/ppc/mach-mpc5xxx/cpu.c
index 4d08c55..be7c19d 100644
--- a/arch/ppc/mach-mpc5xxx/cpu.c
+++ b/arch/ppc/mach-mpc5xxx/cpu.c
@@ -65,7 +65,7 @@ int checkcpu (void)
 	printf (" v%d.%d, Core v%d.%d", SVR_MJREV (svr), SVR_MNREV (svr),
 		PVR_MAJ(pvr), PVR_MIN(pvr));
 #endif
-	printf (" at %s Hz\n", clock);
+	printf (" at %ld Hz\n", clock);
 	return 0;
 }
 
-- 
1.7.2.3




More information about the barebox mailing list