summaryrefslogtreecommitdiffstats
path: root/apps/plugins/properties.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2008-08-15 08:43:24 +0000
committerNils Wallménius <nils@rockbox.org>2008-08-15 08:43:24 +0000
commit8f80c5860e5948cedf0aebc7f3c171085faedd27 (patch)
treee52659396e03d14fd10e4d7f91346b0d44336f05 /apps/plugins/properties.c
parent74b01ffbfdcf1620ce4765b3f31c508e65381078 (diff)
downloadrockbox-8f80c5860e5948cedf0aebc7f3c171085faedd27.tar.gz
rockbox-8f80c5860e5948cedf0aebc7f3c171085faedd27.tar.bz2
rockbox-8f80c5860e5948cedf0aebc7f3c171085faedd27.zip
Kill one more of the printf related warnings in gcc 4.3.1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18284 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/properties.c')
-rw-r--r--apps/plugins/properties.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/properties.c b/apps/plugins/properties.c
index 22288d406f..10635f8306 100644
--- a/apps/plugins/properties.c
+++ b/apps/plugins/properties.c
@@ -207,7 +207,7 @@ static bool dir_properties(char* selected_file)
if(false == _dir_properties(&dps))
return false;
- rb->snprintf(str_dirname, MAX_PATH, selected_file);
+ rb->snprintf(str_dirname, MAX_PATH, "%s", selected_file);
rb->snprintf(str_dircount, sizeof str_dircount, "Subdirs: %d", dps.dc);
rb->snprintf(str_filecount, sizeof str_filecount, "Files: %d", dps.fc);
rb->snprintf(str_size, sizeof str_size, "Size: %s",