summaryrefslogtreecommitdiff
path: root/sys/src/cmd/sshfs.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-10-04 18:51:44 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2019-10-04 18:51:44 +0200
commit2401794cffea1671931bd2e34645756c9689e8eb (patch)
tree9c81e5307f5194c075d7c5646bffd099a0df05f4 /sys/src/cmd/sshfs.c
parentff16079e49ae585281e4ff0f2aed9620a7273644 (diff)
sshfs: use threadexits() instead of exits()
Diffstat (limited to 'sys/src/cmd/sshfs.c')
-rw-r--r--sys/src/cmd/sshfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/cmd/sshfs.c b/sys/src/cmd/sshfs.c
index d0c21ec74..f6267ed85 100644
--- a/sys/src/cmd/sshfs.c
+++ b/sys/src/cmd/sshfs.c
@@ -1343,7 +1343,7 @@ usage(void)
fprint(2, "usage: %s %s [-- ssh-options] [user@]host\n", argv0, common);
fprint(2, " %s %s -c cmdline\n", argv0, common);
fprint(2, " %s %s -p\n", argv0, common);
- exits("usage");
+ threadexits("usage");
}
void
@@ -1415,5 +1415,5 @@ threadmain(int argc, char **argv)
threadpostmountsrv(&sshfssrv, svc, mtpt, MCREATE | mflag);
- exits(nil);
+ threadexits(nil);
}