removed warning

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3592 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2007-11-11 16:05:35 +00:00
parent 9ee1fa2ca9
commit eb6a054076
1 changed files with 2 additions and 0 deletions

View File

@ -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;