From 78c7ba36a1a732c08fbb7e4f8b19d1bc825c5b7e Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Wed, 24 Apr 2013 02:41:36 +0200 Subject: cpu: don't print spurious errstr for bad auth method, fix comment --- sys/src/cmd/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/src/cmd/cpu.c b/sys/src/cmd/cpu.c index f6b70bf13..16d73e814 100644 --- a/sys/src/cmd/cpu.c +++ b/sys/src/cmd/cpu.c @@ -327,7 +327,7 @@ old9p(int fd) 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 @@ remoteside(int old) } 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); -- cgit v1.2.3