summaryrefslogtreecommitdiff
path: root/sys/src
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@gmx.de>2013-04-24 02:41:36 +0200
committercinap_lenrek <cinap_lenrek@gmx.de>2013-04-24 02:41:36 +0200
commit78c7ba36a1a732c08fbb7e4f8b19d1bc825c5b7e (patch)
tree9da6bb41273a0745990edafcb713c8bdca62031b /sys/src
parentb699f9664bc1ec5fae389b7ddbc6451a6ea50d33 (diff)
cpu: don't print spurious errstr for bad auth method, fix comment
Diffstat (limited to 'sys/src')
-rw-r--r--sys/src/cmd/cpu.c4
1 files 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);