diff options
author | rsc <devnull@localhost> | 2005-01-17 21:29:00 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-17 21:29:00 +0000 |
commit | 38c10d1abcab399ce3735ccf54672a5b6787165e (patch) | |
tree | 9a9a70c593a42f68837a5a02461e9d3ce31433bf /src/cmd/9pserve.c | |
parent | e33c70bc72fa4af9d2261ed6d864bd13b8af9be5 (diff) | |
download | plan9port-38c10d1abcab399ce3735ccf54672a5b6787165e.tar.gz plan9port-38c10d1abcab399ce3735ccf54672a5b6787165e.tar.bz2 plan9port-38c10d1abcab399ce3735ccf54672a5b6787165e.zip |
do not call exits in threaded programs
Diffstat (limited to 'src/cmd/9pserve.c')
-rw-r--r-- | src/cmd/9pserve.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/9pserve.c b/src/cmd/9pserve.c index 7ff30ef8..c15c1560 100644 --- a/src/cmd/9pserve.c +++ b/src/cmd/9pserve.c @@ -119,7 +119,7 @@ usage(void) { fprint(2, "usage: 9pserve [-lv] address\n"); fprint(2, "\treads/writes 9P messages on stdin/stdout\n"); - exits("usage"); + threadexitsall("usage"); } uchar vbuf[128]; |