mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
2966c7cc5a
commit
a30f5e4b64
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue