mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +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
|
* open /dev/tty for reading/writing if possible or use
|
||||||
* stdin and stderr instead.
|
* stdin and stderr instead.
|
||||||
*/
|
*/
|
||||||
if ((input = open(_PATH_TTY, O_RDWR) < 0)) {
|
if ((input = open(_PATH_TTY, O_RDWR)) < 0) {
|
||||||
input = fileno(stdin);
|
input = fileno(stdin);
|
||||||
output = fileno(stderr);
|
output = fileno(stderr);
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user