diff --git a/src/filesystem.cpp b/src/filesystem.cpp index dc0dcb6..5be95b1 100644 --- a/src/filesystem.cpp +++ b/src/filesystem.cpp @@ -620,8 +620,7 @@ struct FileSystemPrivate const char *foundName = completeFileName(filename, type, foundExt); if (!foundName) - throw Exception(Exception::NoFileError, - "No such file or directory - %s", filename); + throw Exception(Exception::NoFileError, "%s", filename); PHYSFS_File *handle = PHYSFS_openRead(foundName); if (!handle)