diff options
author | rsc <devnull@localhost> | 2005-01-04 22:16:30 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 22:16:30 +0000 |
commit | 8cc98332adbb236ee12a3e2e706e61566ece3885 (patch) | |
tree | 98ac5ece7a72e291e02211d06a8ea8506004c79c /src/cmd/draw | |
parent | 094c5a80c2a54aade5cb56f93410e791ede268b8 (diff) | |
download | plan9port-8cc98332adbb236ee12a3e2e706e61566ece3885.tar.gz plan9port-8cc98332adbb236ee12a3e2e706e61566ece3885.tar.bz2 plan9port-8cc98332adbb236ee12a3e2e706e61566ece3885.zip |
use 9pclient
Diffstat (limited to 'src/cmd/draw')
-rw-r--r-- | src/cmd/draw/mc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/draw/mc.c b/src/cmd/draw/mc.c index 4e554d0e..de0f9bcc 100644 --- a/src/cmd/draw/mc.c +++ b/src/cmd/draw/mc.c @@ -14,7 +14,7 @@ #include <draw.h> #include <bio.h> #include <fcall.h> -#include <fs.h> +#include <9pclient.h> #include <thread.h> #define WIDTH 80 @@ -90,13 +90,13 @@ threadmain(int argc, char *argv[]) } columnate(); Bflush(&bout); - exits(0); + threadexitsall(0); } void error(char *s) { fprint(2, "mc: %s\n", s); - exits(s); + threadexitsall(s); } void readbuf(int fd) @@ -267,7 +267,7 @@ windowrect(struct winsize *ws) void getwidth(void) { - Fsys *fs; + CFsys *fs; char buf[500], *p, *f[10]; int fd, n, nf; struct winsize ws; |