summaryrefslogtreecommitdiff
path: root/Source/Core/Common/FileUtil.cpp
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-10-26 22:47:56 +0100
committerLéo Lam <leo@leolam.fr>2020-10-26 22:47:56 +0100
commit2d921da860d57cf5e1ad6df8b4c8046bfebbb503 (patch)
treee0152bdad0c4284b8a6f05eb37f49c95a3a6c5ce /Source/Core/Common/FileUtil.cpp
parentd2a2ec870df4c4bf2d958bc07af47fa352bd6885 (diff)
FileUtil: Fix format string
Fixes a recent regression: https://github.com/dolphin-emu/dolphin/pull/9187#issuecomment-716835091
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
-rw-r--r--Source/Core/Common/FileUtil.cpp2
1 files changed, 1 insertions, 1 deletions
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