mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
Fix -Werror=format-security warning (Frederik Himpe/Lennert Buytenhek)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6134 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
bd89f43f32
commit
60cbfb9552
1 changed files with 2 additions and 3 deletions
|
@ -1936,10 +1936,9 @@ static const MonitorDef monitor_defs[] = {
|
|||
{ NULL },
|
||||
};
|
||||
|
||||
static void expr_error(const char *fmt)
|
||||
static void expr_error(const char *msg)
|
||||
{
|
||||
term_printf(fmt);
|
||||
term_printf("\n");
|
||||
term_printf("%s\n", msg);
|
||||
longjmp(expr_env, 1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue