diff --git a/src/debug.cc b/src/debug.cc index 810a487..65caaeb 100644 --- a/src/debug.cc +++ b/src/debug.cc @@ -142,7 +142,7 @@ int debugPrint(const char* format, ...) #ifdef _WIN32 OutputDebugStringA(string); #else - printf("%s", string); + vprintf(string, args); #endif #endif rc = -1;