diff options
author | Robert Reif <reif@earthlink.net> | 2009-04-27 17:11:36 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-04-27 17:11:36 +0000 |
commit | 8d316b0011abc61f17ddb2cd46de4ae9300fa902 (patch) | |
tree | b40354da96925654d5d4e6c3dc1386fe013f6c9e /net.c | |
parent | d877fa5a172e761f83397388826a323a9d6ac007 (diff) | |
download | hqemu-8d316b0011abc61f17ddb2cd46de4ae9300fa902.zip hqemu-8d316b0011abc61f17ddb2cd46de4ae9300fa902.tar.gz |
fix net.c compile warning
Fix net.c compile warning:
CC net.o
net.c: In function ‘net_slirp_redir’:
net.c:623: warning: format not a string literal and no format arguments
Signed-off-by: Robert Reif <reif@earthlink.net>
Diffstat (limited to 'net.c')
-rw-r--r-- | net.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -620,7 +620,7 @@ void net_slirp_redir(Monitor *mon, const char *redir_str) errmsg = "invalid redirection format\n"; fail: if (mon) { - monitor_printf(mon, errmsg); + monitor_printf(mon, "%s", errmsg); } else { fprintf(stderr, "qemu: %s", errmsg); exit(1); |