From: Todd C. Miller Date: Tue, 2 Apr 1996 21:42:59 +0000 (+0000) Subject: fixed a typo wrt placement of an end paren X-Git-Tag: SUDO_1_5_0~234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=20a284166acf3a0a36c39dd282a11776192ff8f9;p=sudo fixed a typo wrt placement of an end paren --- diff --git a/tgetpass.c b/tgetpass.c index ee60b82b6..3ca558ded 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -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 {