diff options
Diffstat (limited to 'slirp/socket.c')
-rw-r--r-- | slirp/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/socket.c b/slirp/socket.c index 396fb4ac78..7286b5e19f 100644 --- a/slirp/socket.c +++ b/slirp/socket.c @@ -418,7 +418,7 @@ sorecvfrom(so) */ len = M_FREEROOM(m); /* if (so->so_fport != htons(53)) { */ - ioctl(so->s, FIONREAD, &n); + ioctlsocket(so->s, FIONREAD, &n); if (n > len) { n = (m->m_data - m->m_dat) + m->m_len + n + 1; |