diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/slirp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/slirp.c b/net/slirp.c index b60893f9c5..f9fdff5fb9 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -747,7 +747,7 @@ static int slirp_guestfwd(SlirpState *s, const char *config_str, } } else { fwd = g_new(struct GuestFwd, 1); - fwd->hd = qemu_chr_new(buf, p, NULL); + fwd->hd = qemu_chr_new(buf, p); if (!fwd->hd) { error_report("could not open guest forwarding device '%s'", buf); g_free(fwd); |