summaryrefslogtreecommitdiffstats
path: root/apps
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 /apps
parent2966c7cc5a97026f9fdbd823f306a85d4056f093 (diff)
downloadrockbox-a30f5e4b6439e214f032266f80e02ea3d336b783.tar.gz
rockbox-a30f5e4b6439e214f032266f80e02ea3d336b783.tar.bz2
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 'apps')
-rw-r--r--apps/menus/playback_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/playback_menu.c b/apps/menus/playback_menu.c
index 8d5c0eeee6..0d5a85483c 100644
--- a/apps/menus/playback_menu.c
+++ b/apps/menus/playback_menu.c
@@ -143,7 +143,7 @@ static int audioscrobbler_callback(int action,const struct menu_item_ex *this_it
{
case ACTION_EXIT_MENUITEM: /* on exit */
if (!scrobbler_is_enabled() && global_settings.audioscrobbler)
- gui_syncsplash(HZ*2, ID2P(LANG_PLEASE_REBOOT));
+ gui_syncsplash(HZ*2, "%s", ID2P(LANG_PLEASE_REBOOT));
if(scrobbler_is_enabled() && !global_settings.audioscrobbler)
scrobbler_shutdown();
@@ -161,7 +161,7 @@ static int cuesheet_callback(int action,const struct menu_item_ex *this_item)
{
case ACTION_EXIT_MENUITEM: /* on exit */
if (!cuesheet_is_enabled() && global_settings.cuesheet)
- gui_syncsplash(HZ*2, ID2P(LANG_PLEASE_REBOOT));
+ gui_syncsplash(HZ*2, "%s", ID2P(LANG_PLEASE_REBOOT));
break;
}
return action;