summaryrefslogtreecommitdiff
path: root/srv9p.c
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-24 09:51:37 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-09-24 09:51:37 -0600
commitd559c50a98e65ce889411b46ab108b392907e0f0 (patch)
treee38f83c11ae43f48aadead70f180be30df2bab78 /srv9p.c
parentfbd945a03f2d706bb4d62aab6a607c1694d6d77a (diff)
wip 9p
Diffstat (limited to 'srv9p.c')
-rw-r--r--srv9p.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/srv9p.c b/srv9p.c
index c7d1dde..822a9ea 100644
--- a/srv9p.c
+++ b/srv9p.c
@@ -10,7 +10,7 @@ int main() {
error(1, -sock, "netio_listen");
for (int i = 0; i < 8; i++)
- if (!coroutine_add(net9p_cr, NULL))
+ if (!coroutine_add(net9p_cr, &sock))
error(1, 0, "coroutine_add(net9p_cr, NULL)");
coroutine_main();