From 2d921da860d57cf5e1ad6df8b4c8046bfebbb503 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Mon, 26 Oct 2020 22:47:56 +0100 Subject: [PATCH] FileUtil: Fix format string Fixes a recent regression: https://github.com/dolphin-emu/dolphin/pull/9187#issuecomment-716835091 --- Source/Core/Common/FileUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index 0250474ff3..e96b10336b 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -348,7 +348,7 @@ bool Copy(const std::string& source_path, const std::string& destination_path) if (CopyFile(UTF8ToTStr(source_path).c_str(), UTF8ToTStr(destination_path).c_str(), FALSE)) return true; - ERROR_LOG_FMT(COMMON, "Copy: failed %s --> %s: %s", source_path, destination_path, + ERROR_LOG_FMT(COMMON, "Copy: failed {} --> {}: {}", source_path, destination_path, GetLastErrorString()); return false; #else