mirror of
https://github.com/ish-app/ish.git
synced 2026-02-01 14:32:26 +00:00
Fix an operator precedence warning from clang.
This commit is contained in:
parent
cf07739dae
commit
d8b3df77ec
2
fs/tty.c
2
fs/tty.c
@ -672,7 +672,7 @@ static int tiocgpgrp(struct tty *tty, pid_t_ *fg_group) {
|
||||
lock(&slave->lock);
|
||||
}
|
||||
|
||||
if (tty == slave && !tty_is_current(slave) || slave->fg_group == 0) {
|
||||
if (tty == slave && (!tty_is_current(slave) || slave->fg_group == 0)) {
|
||||
err = _ENOTTY;
|
||||
goto error_no_ctrl_tty;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user