[6134] Fix -Werror=format-security warning (Frederik Himpe/ Lennert Buytenhek)
Revision: 6134
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6134 Author: blueswir1 Date: 2008-12-28 13:14:48 +0000 (Sun, 28 Dec 2008)
Log Message:
-----------
Fix -Werror=format-security warning (Frederik Himpe/Lennert Buytenhek)
Modified Paths:
--------------
trunk/monitor.c
Modified: trunk/monitor.c
===================================================================
monitor.c +2 -3
@@ -1936,10 +1936,9 @@ { 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 ); }