shithub: riscv

Download patch

ref: 2401794cffea1671931bd2e34645756c9689e8eb
parent: ff16079e49ae585281e4ff0f2aed9620a7273644
author: cinap_lenrek <[email protected]>
date: Fri Oct 4 14:51:44 EDT 2019

sshfs: use threadexits() instead of exits()

--- a/sys/src/cmd/sshfs.c
+++ b/sys/src/cmd/sshfs.c
@@ -1343,7 +1343,7 @@
 	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 @@
 	
 	threadpostmountsrv(&sshfssrv, svc, mtpt, MCREATE | mflag);
 
-	exits(nil);
+	threadexits(nil);
 }