]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Update pty-session.c
authorSoumendra Ganguly <67527439+8vasu@users.noreply.github.com>
Thu, 13 Aug 2020 17:58:22 +0000 (12:58 -0500)
committerGitHub <noreply@github.com>
Thu, 13 Aug 2020 17:58:22 +0000 (12:58 -0500)
lib/pty-session.c

index bc18cd5f033d692fb6aa593617398912d7c9e0bb..e41d7bd3355a0f89c4c8b13989ae9a71145ff900 100644 (file)
@@ -600,7 +600,7 @@ int ul_pty_proxy_master(struct ul_pty *pty)
                                /* data */
                                if (pfd[i].revents & POLLIN)
                                        rc = handle_io(pty, pfd[i].fd, &eof);
-                               /* EOF maybe detected in two ways; they are:
+                               /* EOF maybe detected in two ways; they are as follows:
                                 *      A) poll() return POLLHUP event after close()
                                 *      B) read() returns 0 (no data)
                                 *