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/vac | |
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/vac')
-rw-r--r-- | src/cmd/vac/vac.c | 2 | ||||
-rw-r--r-- | src/cmd/vac/vacfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/vac/vac.c b/src/cmd/vac/vac.c index 761310b9..8065e9ab 100644 --- a/src/cmd/vac/vac.c +++ b/src/cmd/vac/vac.c @@ -105,7 +105,7 @@ static void usage(void) { fprint(2, "usage: %s [-amqsv] [-h host] [-d vacfile] [-b blocksize] [-i name] [-e exclude] [-f vacfile] file ... \n", argv0); - exits("usage"); + threadexitsall("usage"); } void diff --git a/src/cmd/vac/vacfs.c b/src/cmd/vac/vacfs.c index bd36de8e..51050345 100644 --- a/src/cmd/vac/vacfs.c +++ b/src/cmd/vac/vacfs.c @@ -206,7 +206,7 @@ void usage(void) { fprint(2, "usage: %s [-sd] [-h host] [-c ncache] [-m mountpoint] vacfile\n", argv0); - exits("usage"); + threadexitsall("usage"); } char* |