aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleh Hushchenkov <o.hushchenkov@gmail.com>2021-04-18 11:05:28 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-04-18 18:09:02 +0000
commita2251a399ce669b8f0e2f2b52b4600217b115ff8 (patch)
tree0fbec002842e499c2c65068f32a845a4e8d09a2f
parentterm: stop reading on eof (diff)
Fix comment
-rw-r--r--terminal.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/terminal.c b/terminal.c
index ef33d975..bcb8a868 100644
--- a/terminal.c
+++ b/terminal.c
@@ -248,9 +248,7 @@ fdm_ptmx(struct fdm *fdm, int fd, int events, void *data)
LOG_ERRNO("failed to read from pseudo terminal");
return false;
} else if (count == 0) {
- /*
- * Reached end-of-file
- */
+ /* Reached end-of-file */
break;
}