do not call exits in threaded programs
This commit is contained in:
parent
e33c70bc72
commit
38c10d1abc
8 changed files with 25 additions and 17 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue