From 61eb92588e21b7171c063a286f0506a1f18767fe Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 2 Oct 2019 12:49:21 +0200 Subject: [PATCH] Utils: Fix FileAPI printf not using the correct print method --- src/Utils/Utils/FileAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils/Utils/FileAPI.cpp b/src/Utils/Utils/FileAPI.cpp index 358fa20d..b3b7e7d1 100644 --- a/src/Utils/Utils/FileAPI.cpp +++ b/src/Utils/Utils/FileAPI.cpp @@ -119,7 +119,7 @@ size_t FileAPI::File::Printf(char* fmt, ...) const return 0; va_start(ap, fmt); - const int result = fprintf(static_cast(m_handle), fmt, ap); + const int result = vfprintf(static_cast(m_handle), fmt, ap); va_end(ap); return result;