From c6f05b586fa1c31e0415a5368a98c9d61cd79232 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 28 May 2019 22:10:51 -0400 Subject: 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. --- src/yuzu_cmd/yuzu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/yuzu_cmd') 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!"); -- cgit v1.2.3