2
0
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:
Todd C. Miller
1996-04-02 21:42:59 +00:00
parent 0eb20432fe
commit 20a284166a

View File

@@ -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 {