diff options
Diffstat (limited to 'term')
-rw-r--r-- | term/users.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term/users.c b/term/users.c index 09df9ab8..9d745c6d 100644 --- a/term/users.c +++ b/term/users.c @@ -679,7 +679,7 @@ trivfs_S_io_read (struct trivfs_protid *cred, while (!qsize (inputq)) { - if ((termflags & NO_CARRIER) && !(termstate.c_cflag & CLOCAL) || !amount) + if (((termflags & NO_CARRIER) && !(termstate.c_cflag & CLOCAL)) || !amount) { /* Return EOF, Posix.1 7.1.1.10. */ pthread_mutex_unlock (&global_lock); |