git: 9front

Download patch

ref: 575c5ff33b2cc32eaf0154fc2e463a511f657d73
parent: c0046ff62c7d2b13632b8e4d3367e5bd49760d42
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Tue Apr 23 22:41:36 EDT 2013

cpu: don't print spurious errstr for bad auth method, fix comment

--- a/sys/src/cmd/cpu.c
+++ b/sys/src/cmd/cpu.c
@@ -327,7 +327,7 @@
 	return p[1];	
 }
 
-/* Invoked with stdin, stdout and stderr connected to the network connection */
+/* Invoked with stdin and stdout connected to the network connection */
 void
 remoteside(int old)
 {
@@ -352,7 +352,7 @@
 	}
 	if(setamalg(cmd) < 0){
 		writestr(fd, "unsupported auth method", nil, 0);
-		fatal("bad auth method %s: %r", cmd);
+		fatal("bad auth method %s", cmd);
 	} else
 		writestr(fd, "", "", 1);
 
--