mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
Fix log format misuse
Harden log channel methods against non-constant string.
This commit is contained in:
parent
a29d4150df
commit
8f604ddded
4 changed files with 8 additions and 8 deletions
|
|
@ -257,7 +257,7 @@ bool gdb_thread::read_cmd(gdb_cmd& out_cmd)
|
|||
}
|
||||
catch (const std::runtime_error& e)
|
||||
{
|
||||
gdbDebugServer.error(e.what());
|
||||
gdbDebugServer.error("%s", e.what());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
@ -855,7 +855,7 @@ void gdb_thread::operator()()
|
|||
client_socket = -1;
|
||||
}
|
||||
|
||||
gdbDebugServer.error(e.what());
|
||||
gdbDebugServer.error("%s", e.what());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue