summaryrefslogtreecommitdiff
path: root/libnetio/netio_posix.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-27 22:27:01 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-27 22:27:01 -0600
commit7ec97df3ee8edfd102fe573eaa61cf4e5c6284cb (patch)
treee696f30da5645cdd3cb09971d9544622e9943bcf /libnetio/netio_posix.c
parentfa357459f88bb8f0170d1a68df66e7d068d59996 (diff)
wip fixes
Diffstat (limited to 'libnetio/netio_posix.c')
-rw-r--r--libnetio/netio_posix.c2
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) {