diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 16:05:35 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-11 16:05:35 +0000 |
commit | eb6a0540767153923297a9f69c5d43d2f7e42977 (patch) | |
tree | 62f5da363c7837ebf40c1d5b40b3a4673456174b | |
parent | 9ee1fa2ca9d925e53f5609b35fe29d719abae980 (diff) | |
download | qemu-eb6a0540767153923297a9f69c5d43d2f7e42977.zip qemu-eb6a0540767153923297a9f69c5d43d2f7e42977.tar.gz qemu-eb6a0540767153923297a9f69c5d43d2f7e42977.tar.bz2 |
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3592 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r-- | slirp/misc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/slirp/misc.c b/slirp/misc.c index 9ea7dd0..14808fe 100644 --- a/slirp/misc.c +++ b/slirp/misc.c @@ -327,6 +327,8 @@ fork_exec(struct socket *so, const char *ex, int do_pty) lprint("Error: openpty failed: %s\n", strerror(errno)); return 0; } +#else + return 0; #endif } else { addr.sin_family = AF_INET; |