diff options
author | rsc <devnull@localhost> | 2004-02-29 22:42:33 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2004-02-29 22:42:33 +0000 |
commit | f063dad96ec737db0ce213c4df32ecc600637881 (patch) | |
tree | a8735ff7873de4f7fda886264158e89493875290 /src/cmd/plumb/fsys.c | |
parent | 91c13e54b5d631b65e2f8344d5e0abd058f78ba1 (diff) | |
download | plan9port-f063dad96ec737db0ce213c4df32ecc600637881.tar.gz plan9port-f063dad96ec737db0ce213c4df32ecc600637881.tar.bz2 plan9port-f063dad96ec737db0ce213c4df32ecc600637881.zip |
Small tweaks to make things build again.
Diffstat (limited to 'src/cmd/plumb/fsys.c')
-rw-r--r-- | src/cmd/plumb/fsys.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cmd/plumb/fsys.c b/src/cmd/plumb/fsys.c index 912e5ca0..4776d127 100644 --- a/src/cmd/plumb/fsys.c +++ b/src/cmd/plumb/fsys.c @@ -195,7 +195,7 @@ startfsys(void) if(post9pservice(p[1], "plumb") < 0) sysfatal("post9pservice plumb: %r"); close(p[1]); - proccreate(fsysproc, nil, Stack); + threadcreate(fsysproc, nil, Stack); } static void @@ -213,14 +213,14 @@ fsysproc(void *v) if(buf == nil) error("malloc failed: %r"); qlock(&readlock); - n = read9pmsg(srvfd, buf, messagesize); + n = threadread9pmsg(srvfd, buf, messagesize); if(n <= 0){ if(n < 0) error("i/o error on server channel"); threadexitsall("unmounted"); } if(readlock.head == nil) /* no other processes waiting to read; start one */ - proccreate(fsysproc, nil, Stack); + threadcreate(fsysproc, nil, Stack); qunlock(&readlock); if(t == nil) t = emalloc(sizeof(Fcall)); |