9front - general discussion about 9front
 help / color / mirror / Atom feed
* patch: hjfs (oops)
@ 2016-02-16  2:27 Matthew Veety
  0 siblings, 0 replies; only message in thread
From: Matthew Veety @ 2016-02-16  2:27 UTC (permalink / raw)
  To: 9front

I guess marshal doesn't handle Attach: ?
Here it is:

diff -r c392f6b2122c sys/src/cmd/hjfs/main.c
--- a/sys/src/cmd/hjfs/main.c	Mon Feb 15 17:30:56 2016 +0100
+++ b/sys/src/cmd/hjfs/main.c	Mon Feb 15 21:18:23 2016 -0500
@@ -87,7 +87,7 @@
 usage(void)
 {
 	fprint(2, "usage: %s [-rsS] [-m mem] [-n service] [-a announce-string]... -f dev\n", argv0);
-	exits("usage");
+	threadexitsall("usage");
 }
 
 void
@@ -120,7 +120,7 @@
 	case 'a':
 		if(netc >= nelem(nets)-1){
 			fprint(2, "%s: too many networks to announce\n", argv0);
-			exits("too many nets");
+			threadexitsall("too many nets");
 		}
 		nets[netc++] = estrdup(EARGF(usage()));
 		break;


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-16  2:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-16  2:27 patch: hjfs (oops) Matthew Veety

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).