From 10943c9afa25694bd9999461f4e9e50ce22fff2b Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Thu, 10 Jul 2008 10:00:45 +0200 Subject: [PATCH] rtc: Fix printf format warning in m41t60.c Signed-off-by: Stefan Roese --- drivers/rtc/m41t60.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/m41t60.c b/drivers/rtc/m41t60.c index 8a32ea0748..ef135cab38 100644 --- a/drivers/rtc/m41t60.c +++ b/drivers/rtc/m41t60.c @@ -241,7 +241,7 @@ void rtc_reset(void) if (l <= 0x3F) { if ((data[RTC_CTRL] & 0x3F) != l) { - printf("Setting RTC calibration to 0x%02X\n", + printf("Setting RTC calibration to 0x%02lX\n", l); data[RTC_CTRL] &= 0xC0; data[RTC_CTRL] |= (uchar) l; -- 2.25.1