diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-06-08 12:13:58 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-06-08 12:13:58 -0500 |
commit | 13748cf499fbd93468e7103c0866e073a666f270 (patch) | |
tree | b7bad9c923765b123703a738539bc66afb765a56 /net | |
parent | 99cce9fa4e091fd7ead1926e1c0db016ef293f36 (diff) | |
parent | 7665385a8580ee5cea2cae44e1b58d6d7518a156 (diff) |
Merge remote-tracking branch 'stefanha/trivial-patches' into staging
Diffstat (limited to 'net')
-rw-r--r-- | net/slirp.c | 2 | ||||
-rw-r--r-- | net/tap.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/net/slirp.c b/net/slirp.c index e387a116ad..e057a14ce9 100644 --- a/net/slirp.c +++ b/net/slirp.c @@ -614,7 +614,7 @@ static int slirp_guestfwd(SlirpState *s, const char *config_str, } fwd = qemu_malloc(sizeof(struct GuestFwd)); - snprintf(buf, sizeof(buf), "guestfwd.tcp:%d", port); + snprintf(buf, sizeof(buf), "guestfwd.tcp.%d", port); fwd->hd = qemu_chr_open(buf, p, NULL); if (!fwd->hd) { error_report("could not open guest forwarding device '%s'", buf); @@ -27,7 +27,6 @@ #include "config-host.h" -#include <signal.h> #include <sys/ioctl.h> #include <sys/stat.h> #include <sys/wait.h> |