aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/upas/nfs/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/upas/nfs/thread.c')
-rw-r--r--src/cmd/upas/nfs/thread.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cmd/upas/nfs/thread.c b/src/cmd/upas/nfs/thread.c
index bb40def1..b4c893ee 100644
--- a/src/cmd/upas/nfs/thread.c
+++ b/src/cmd/upas/nfs/thread.c
@@ -13,7 +13,7 @@ void
mailthread(void (*fn)(void*), void *arg)
{
New n;
-
+
n.fn = fn;
n.arg = arg;
send(mailthreadchan, &n);
@@ -23,7 +23,7 @@ void
mailproc(void *v)
{
New n;
-
+
USED(v);
while(recv(mailthreadchan, &n) == 1)
threadcreate(n.fn, n.arg, STACK);
@@ -35,4 +35,3 @@ mailthreadinit(void)
mailthreadchan = chancreate(sizeof(New), 0);
proccreate(mailproc, nil, STACK);
}
-