summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-05-06 21:37:03 +0000
committerThomas Martitz <kugel@rockbox.org>2010-05-06 21:37:03 +0000
commit77dfff5a5524e0a9d3ae54d8bb61d3c01e6082bb (patch)
treea3c16f138d63e4010fc08fb25db00aa4704da86a /bootloader
parent54548df56e36f870f0870a87dc6b9350836859bf (diff)
Fix some more snprintf related warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25853 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/iriver_h1x0.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootloader/iriver_h1x0.c b/bootloader/iriver_h1x0.c
index 83e545540b..f16a5128c9 100644
--- a/bootloader/iriver_h1x0.c
+++ b/bootloader/iriver_h1x0.c
@@ -287,7 +287,7 @@ void failsafe_menu(void)
printf("%s %s %s", arrow, options[i], def);
}
- snprintf(buf, sizeof(buf), "Time left: %ds",
+ snprintf(buf, sizeof(buf), "Time left: %lds",
(TIMEOUT - (current_tick - start_tick)) / HZ);
lcd_puts(0, 10, buf);
lcd_update();