[U-Boot-Users] [PATCH] rtc: Fix printf format warning in m41t60.c

10 Jul
2008
10 Jul
'08
10 a.m.
Signed-off-by: Stefan Roese sr@denx.de --- 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;
--
1.5.6.2

10 Jul
10 Jul
10:18 a.m.
New subject: [U-Boot-Users] [PATCH] rtc: Fix printf format warning in m41t60.c
In message 1215676845-16677-1-git-send-email-sr@denx.de you wrote:
Signed-off-by: Stefan Roese sr@denx.de
drivers/rtc/m41t60.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Applied, thanks!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
"I didn't know it was impossible when I did it."
6148
Age (days ago)
6148
Last active (days ago)
1 comments
2 participants
participants (2)
-
Stefan Roese
-
Wolfgang Denk