Commit eb6a0540767153923297a9f69c5d43d2f7e42977
1 parent
9ee1fa2c
removed warning
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3592 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
2 additions
and
0 deletions
slirp/misc.c
@@ -327,6 +327,8 @@ fork_exec(struct socket *so, const char *ex, int do_pty) | @@ -327,6 +327,8 @@ fork_exec(struct socket *so, const char *ex, int do_pty) | ||
327 | lprint("Error: openpty failed: %s\n", strerror(errno)); | 327 | lprint("Error: openpty failed: %s\n", strerror(errno)); |
328 | return 0; | 328 | return 0; |
329 | } | 329 | } |
330 | +#else | ||
331 | + return 0; | ||
330 | #endif | 332 | #endif |
331 | } else { | 333 | } else { |
332 | addr.sin_family = AF_INET; | 334 | addr.sin_family = AF_INET; |