aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2004-08-06 12:44:41 +0000
committerrsc <devnull@localhost>2004-08-06 12:44:41 +0000
commit0fa6e0cfbf480077fadc0cb5f3fd8d1ebad5b00e (patch)
treeb0e64bf671f7400cb59b8e99ee371782ccc7716a
parent8773b4b2383644cdbfed598bd9596921233b9e62 (diff)
downloadplan9port-0fa6e0cfbf480077fadc0cb5f3fd8d1ebad5b00e.tar.gz
plan9port-0fa6e0cfbf480077fadc0cb5f3fd8d1ebad5b00e.tar.bz2
plan9port-0fa6e0cfbf480077fadc0cb5f3fd8d1ebad5b00e.zip
Make comment match code.
-rw-r--r--src/cmd/9term/9term.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cmd/9term/9term.c b/src/cmd/9term/9term.c
index 12d4be03..469aea46 100644
--- a/src/cmd/9term/9term.c
+++ b/src/cmd/9term/9term.c
@@ -1013,10 +1013,11 @@ consread(void)
n = p-buf;
/*
- * We've been echoing, so make sure the terminal isn't
+ * If we've been echoing, make sure the terminal isn't
* while we do the write. This screws up if someone
- * else tries to turn on echo at the same time (we'll turn it
- * off again after the write), but that's not too likely.
+ * else tries to turn off echo at the same time we do
+ * (we'll turn it on again after the write), but that's not
+ * too likely.
*/
s = setecho(sfd, 0);
if(write(rcfd, buf, n) < 0)