From 6e11cfcdf0acad6bb337f1d60896cdbfd07c1cd2 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 29 Jul 2019 20:55:45 -0400 Subject: yuzu-tester/yuzu: Correct format string Prevents an invalid formatting exception from being thrown. --- src/yuzu_tester/yuzu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/yuzu_tester/yuzu.cpp b/src/yuzu_tester/yuzu.cpp index 713d7770b..0ee97aa54 100644 --- a/src/yuzu_tester/yuzu.cpp +++ b/src/yuzu_tester/yuzu.cpp @@ -225,7 +225,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