aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-11-20 21:25:01 +0000
committerJohannes Schickel2009-11-20 21:25:01 +0000
commitbb5d29be80b807a7b4b48795da87c8e5fd5e88d1 (patch)
tree7d154755d2677f54a4eb6f1e06ff9c82573acc26
parent10749246862069d8a73fc2ae46776120fe72cf58 (diff)
downloadscummvm-rg350-bb5d29be80b807a7b4b48795da87c8e5fd5e88d1.tar.gz
scummvm-rg350-bb5d29be80b807a7b4b48795da87c8e5fd5e88d1.tar.bz2
scummvm-rg350-bb5d29be80b807a7b4b48795da87c8e5fd5e88d1.zip
Fix missing printf arguments.
svn-id: r46024
-rw-r--r--tools/create_kyradat/pak.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/create_kyradat/pak.cpp b/tools/create_kyradat/pak.cpp
index 0187168c0f..23bdf7db1e 100644
--- a/tools/create_kyradat/pak.cpp
+++ b/tools/create_kyradat/pak.cpp
@@ -184,7 +184,7 @@ const uint8 *PAKFile::getFileData(const char *file, uint32 *size) {
bool PAKFile::addFile(const char *name, const char *file) {
if (_fileList && _fileList->findEntry(name)) {
- error("entry '%s' already exists");
+ error("entry '%s' already exists", name);
return false;
}
@@ -207,7 +207,7 @@ bool PAKFile::addFile(const char *name, const char *file) {
bool PAKFile::addFile(const char *name, uint8 *data, uint32 size) {
if (_fileList && _fileList->findEntry(name)) {
- error("entry '%s' already exists");
+ error("entry '%s' already exists", name);
return false;
}