summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}