diff options
author | Stefan Roese <sr@denx.de> | 2008-07-10 10:00:45 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-07-10 10:17:33 +0200 |
commit | 10943c9afa25694bd9999461f4e9e50ce22fff2b (patch) | |
tree | 821ab8a8f5ab8be3b1124e8d9fc76f0a7f45c949 /drivers/rtc/m41t60.c | |
parent | dc1da42f814cd71e6756c2cf62af1ada1d0581fb (diff) | |
download | u-boot-imx-10943c9afa25694bd9999461f4e9e50ce22fff2b.zip u-boot-imx-10943c9afa25694bd9999461f4e9e50ce22fff2b.tar.gz u-boot-imx-10943c9afa25694bd9999461f4e9e50ce22fff2b.tar.bz2 |
rtc: Fix printf format warning in m41t60.c
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'drivers/rtc/m41t60.c')
-rw-r--r-- | drivers/rtc/m41t60.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ 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; |