mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 22:05:46 +00:00
fixed a typo wrt placement of an end paren
This commit is contained in:
@@ -125,7 +125,7 @@ char * tgetpass(prompt, timeout)
|
||||
* open /dev/tty for reading/writing if possible or use
|
||||
* stdin and stderr instead.
|
||||
*/
|
||||
if ((input = open(_PATH_TTY, O_RDWR) < 0)) {
|
||||
if ((input = open(_PATH_TTY, O_RDWR)) < 0) {
|
||||
input = fileno(stdin);
|
||||
output = fileno(stderr);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user