diff options
| author | LC <mathew1800@gmail.com> | 2020-10-26 17:50:37 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-26 17:50:37 -0400 |
| commit | 712edfb42598cf76c467cc51ac98c182e5961c1f (patch) | |
| tree | e0152bdad0c4284b8a6f05eb37f49c95a3a6c5ce /Source/Core/Common/FileUtil.cpp | |
| parent | d2a2ec870df4c4bf2d958bc07af47fa352bd6885 (diff) | |
| parent | 2d921da860d57cf5e1ad6df8b4c8046bfebbb503 (diff) | |
Merge pull request #9198 from leoetlino/format-fix
FileUtil: Fix format string
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/FileUtil.cpp | 2 |
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 |
