aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/acme/fsys.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd/acme/fsys.c')
-rw-r--r--src/cmd/acme/fsys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/acme/fsys.c b/src/cmd/acme/fsys.c
index a095529f..66b935f8 100644
--- a/src/cmd/acme/fsys.c
+++ b/src/cmd/acme/fsys.c
@@ -126,7 +126,7 @@ fsysinit(void)
fmtinstall('F', fcallfmt);
if((u = getuser()) != nil)
user = estrdup(u);
- threadcreate(fsysproc, nil, STACK);
+ proccreate(fsysproc, nil, STACK);
}
void
@@ -142,7 +142,7 @@ fsysproc(void *v)
x = nil;
for(;;){
buf = emalloc(messagesize+UTFmax); /* overflow for appending partial rune in xfidwrite */
- n = threadread9pmsg(sfd, buf, messagesize);
+ n = read9pmsg(sfd, buf, messagesize);
if(n <= 0){
if(closing)
break;