From bb5d29be80b807a7b4b48795da87c8e5fd5e88d1 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 20 Nov 2009 21:25:01 +0000 Subject: Fix missing printf arguments. svn-id: r46024 --- tools/create_kyradat/pak.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') 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; } -- cgit v1.2.3