summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2008-08-13 21:38:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2008-08-13 21:38:33 +0000
commita30f5e4b6439e214f032266f80e02ea3d336b783 (patch)
treebd372c1ccf0ad09dcbd2feb359fe70dcc43598bc /firmware
parent2966c7cc5a97026f9fdbd823f306a85d4056f093 (diff)
downloadrockbox-a30f5e4b6439e214f032266f80e02ea3d336b783.tar.gz
rockbox-a30f5e4b6439e214f032266f80e02ea3d336b783.zip
gcc 4.3.1 quite rightfully warnings when printf-style functions use "format
not a string literal and no format arguments". Those occurances can (will?) lead to future nasty and surprising bugs. These are just a few of a very large amount of necessary fixes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/panic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/panic.c b/firmware/panic.c
index 1791420139..e66676c1c2 100644
--- a/firmware/panic.c
+++ b/firmware/panic.c
@@ -80,7 +80,7 @@ void panicf( const char *fmt, ...)
/* no LCD */
#endif
lcd_update();
- DEBUGF(panic_buf);
+ DEBUGF("%s", panic_buf);
set_cpu_frequency(0);