fix printf safety warning

This commit is contained in:
asvitkine 2010-08-22 18:57:11 +00:00
parent 15b346b031
commit 8a062fefdc

View File

@ -934,7 +934,7 @@ int main(int argc, char **argv)
goto quit;
}
}
printf(GetString(STR_READING_ROM_FILE));
printf("%s", GetString(STR_READING_ROM_FILE));
rom_size = lseek(rom_fd, 0, SEEK_END);
lseek(rom_fd, 0, SEEK_SET);
rom_tmp = new uint8[ROM_SIZE];