aboutsummaryrefslogtreecommitdiff
path: root/slirp
diff options
context:
space:
mode:
authorbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-13 01:50:15 +0000
committerbalrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-13 01:50:15 +0000
commit2f4a40e56972be8088faa78cfe2120a4a0026b2d (patch)
tree548e36ee954c49b003c4d620d693c85272b9c2fa /slirp
parentc3e3682388f422921b2ae13264d35859981da752 (diff)
Prevent cpsr_write/_read be put out of line in op.o (fixes a segfault on some platforms).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3633 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'slirp')
-rw-r--r--slirp/misc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/slirp/misc.c b/slirp/misc.c
index 14808fe21d..9ea7dd068e 100644
--- a/slirp/misc.c
+++ b/slirp/misc.c
@@ -327,8 +327,6 @@ 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;