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 | move get_errno() inside do_fcntl() (diff) | |
download | qemu-kvm-eb6a0540767153923297a9f69c5d43d2f7e42977.tar.gz qemu-kvm-eb6a0540767153923297a9f69c5d43d2f7e42977.tar.bz2 qemu-kvm-eb6a0540767153923297a9f69c5d43d2f7e42977.zip |
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 9ea7dd068..14808fe21 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; |