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
|
@ -1936,10 +1936,9 @@ static const MonitorDef monitor_defs[] = {
|
||||||
{ NULL },
|
{ NULL },
|
||||||
};
|
};
|
||||||
|
|
||||||
static void expr_error(const char *fmt)
|
static void expr_error(const char *msg)
|
||||||
{
|
{
|
||||||
term_printf(fmt);
|
term_printf("%s\n", msg);
|
||||||
term_printf("\n");
|
|
||||||
longjmp(expr_env, 1);
|
longjmp(expr_env, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue