summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-28 22:10:51 -0400
committerLioncash <mathew1800@gmail.com>2019-05-28 22:28:46 -0400
commitc6f05b586fa1c31e0415a5368a98c9d61cd79232 (patch)
treeec0066bbad72400d6a6ef0ff2686b601dd062eef /src
parent84a8fb9264b5018d97e487f3e473b5ebb43b48f1 (diff)
yuzu_cmd/yuzu: Correct formatting specifier
Amends the formatting specifier to obey libfmt. Prevents the application from terminating due to a formatting issue in the error case.
Diffstat (limited to 'src')
-rw-r--r--src/yuzu_cmd/yuzu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu_cmd/yuzu.cpp b/src/yuzu_cmd/yuzu.cpp
index 3cddadd37..05f28ce8d 100644
--- a/src/yuzu_cmd/yuzu.cpp
+++ b/src/yuzu_cmd/yuzu.cpp
@@ -191,7 +191,7 @@ int main(int argc, char** argv) {
switch (load_result) {
case Core::System::ResultStatus::ErrorGetLoader:
- LOG_CRITICAL(Frontend, "Failed to obtain loader for %s!", filepath.c_str());
+ LOG_CRITICAL(Frontend, "Failed to obtain loader for {}!", filepath);
return -1;
case Core::System::ResultStatus::ErrorLoader:
LOG_CRITICAL(Frontend, "Failed to load ROM!");