Fix cppcheck issue reported by salty-horse

svn-id: r44541
This commit is contained in:
Willem Jan Palenstijn 2009-10-02 15:02:57 +00:00
parent 0041502ee7
commit cbcd53f1f3

View File

@ -948,7 +948,7 @@ void run_vm(EngineState *s, int restoring) {
warningMsg += (i == argc - 1 ? ")" : ", ");
}
warning(warningMsg.c_str());
warning("%s", warningMsg.c_str());
}
}