* [U-Boot-Users] [PATCH] rtc: Fix printf format warning in m41t60.c
@ 2008-07-10 8:00 Stefan Roese
2008-07-10 8:18 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Roese @ 2008-07-10 8:00 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot-Users] [PATCH] rtc: Fix printf format warning in m41t60.c
2008-07-10 8:00 [U-Boot-Users] [PATCH] rtc: Fix printf format warning in m41t60.c Stefan Roese
@ 2008-07-10 8:18 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2008-07-10 8:18 UTC (permalink / raw)
To: u-boot
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 at denx.de
"I didn't know it was impossible when I did it."
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-10 8:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-10 8:00 [U-Boot-Users] [PATCH] rtc: Fix printf format warning in m41t60.c Stefan Roese
2008-07-10 8:18 ` Wolfgang Denk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox