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
This commit is contained in:
Daniel Stenberg 2008-08-13 21:38:33 +00:00
parent 2966c7cc5a
commit a30f5e4b64
2 changed files with 3 additions and 3 deletions

View file

@ -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);