diff options
-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); |