aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleh Hushchenkov <o.hushchenkov@gmail.com>2021-04-18 11:05:28 +0000
committerOleh Hushchenkov <o.hushchenkov@gmail.com>2021-04-18 11:05:28 +0000
commite9dfb21022d4d3fcf8336289a87911aeafcc8f95 (patch)
tree789bcdc8ff3b092f9c4c9ced4d1303ab2ddd0179
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;
}