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
This commit is contained in:
Nils Wallménius 2008-08-15 08:43:24 +00:00
parent 74b01ffbfd
commit 8f80c5860e

View file

@ -207,7 +207,7 @@ static bool dir_properties(char* selected_file)
if(false == _dir_properties(&dps)) if(false == _dir_properties(&dps))
return false; 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_dircount, sizeof str_dircount, "Subdirs: %d", dps.dc);
rb->snprintf(str_filecount, sizeof str_filecount, "Files: %d", dps.fc); rb->snprintf(str_filecount, sizeof str_filecount, "Files: %d", dps.fc);
rb->snprintf(str_size, sizeof str_size, "Size: %s", rb->snprintf(str_size, sizeof str_size, "Size: %s",