]> granicus.if.org Git - sudo/commitdiff
fixed a typo wrt placement of an end paren
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 2 Apr 1996 21:42:59 +0000 (21:42 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 2 Apr 1996 21:42:59 +0000 (21:42 +0000)
tgetpass.c

index ee60b82b6b76118feba746bfed614cdc6a5f5351..3ca558ded3908041fc3ef8dfe5ab676329317dbf 100644 (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 {