diff options
author | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-28 13:14:48 +0000 |
---|---|---|
committer | blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-12-28 13:14:48 +0000 |
commit | 60cbfb95522b33c3ec1dd4fa32da261c6c3d6a9d (patch) | |
tree | 90c745b1f6bad067d1bfdd5eb15301ed484f5d15 /monitor.c | |
parent | bd89f43f3254f672648ef292dff05736b339ab96 (diff) | |
download | qemu-60cbfb95522b33c3ec1dd4fa32da261c6c3d6a9d.zip qemu-60cbfb95522b33c3ec1dd4fa32da261c6c3d6a9d.tar.gz qemu-60cbfb95522b33c3ec1dd4fa32da261c6c3d6a9d.tar.bz2 |
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
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 5 |
1 files changed, 2 insertions, 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); } |