commit | ace61f0777c82651af78b9decc94d64052b74fea | [log] [tgz] |
---|---|---|
author | Stefan Roese <sr@denx.de> | Thu Jul 10 10:00:45 2008 +0200 |
committer | Wolfgang Denk <wd@denx.de> | Thu Jul 10 10:17:33 2008 +0200 |
tree | 821ab8a8f5ab8be3b1124e8d9fc76f0a7f45c949 | |
parent | 41e846ffca66bd9749d6a286e4418d40e1183fb4 [diff] [blame] |
rtc: Fix printf format warning in m41t60.c Signed-off-by: Stefan Roese <sr@denx.de>
diff --git a/drivers/rtc/m41t60.c b/drivers/rtc/m41t60.c index 8a32ea0..ef135ca 100644 --- a/drivers/rtc/m41t60.c +++ b/drivers/rtc/m41t60.c
@@ -241,7 +241,7 @@ 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;