diff options
Diffstat (limited to 'libnetio/netio_posix.c')
-rw-r--r-- | libnetio/netio_posix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetio/netio_posix.c b/libnetio/netio_posix.c index 133b226..2cc6be4 100644 --- a/libnetio/netio_posix.c +++ b/libnetio/netio_posix.c @@ -134,7 +134,7 @@ int netio_accept(int sock) { * while waiting for us to accept(). */ for (;;) { #if CONFIG_NETIO_ISLINUX - cr_sema_wait(&sock->accept_waiters); + cr_sema_wait(&socket_table[sock].accept_waiters); #endif int conn = accept(socket_table[sock].fd, NULL, NULL); if (conn < 0) { |