[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6134] Fix -Werror=format-security warning (Frederik Himpe/
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [6134] Fix -Werror=format-security warning (Frederik Himpe/ Lennert Buytenhek) |
Date: |
Sun, 28 Dec 2008 13:14:48 +0000 |
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
===================================================================
--- trunk/monitor.c 2008-12-26 23:05:23 UTC (rev 6133)
+++ trunk/monitor.c 2008-12-28 13:14:48 UTC (rev 6134)
@@ -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);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-devel] [6134] Fix -Werror=format-security warning (Frederik Himpe/ Lennert Buytenhek),
Blue Swirl <=