From 16ade60d372c1d650602960848a853333b499820 Mon Sep 17 00:00:00 2001 From: sephiroth99 Date: Wed, 30 Dec 2015 11:08:47 -0500 Subject: [PATCH] Pass a C string for logging argument --- src/xenia/emulator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xenia/emulator.cc b/src/xenia/emulator.cc index f1d219a9f..8fbf5f98f 100644 --- a/src/xenia/emulator.cc +++ b/src/xenia/emulator.cc @@ -504,7 +504,7 @@ X_STATUS Emulator::CompleteLaunch(const std::wstring& path, XELOGI("Launching module %s", next_module.c_str()); auto module = kernel_state_->LoadUserModule(next_module.c_str()); if (!module) { - XELOGE("Failed to load user module %s", path); + XELOGE("Failed to load user module %s", path.c_str()); return X_STATUS_NOT_FOUND; }