summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-06-18 17:41:40 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-06-18 17:41:40 +0000
commit342f76effd4f44a3f7f16d254d045760352317da (patch)
tree509d2a1074f59bae02e5718b5b50f20d1a168cfe
parent59a8da29ef83592d1b880eb6bd5ab365d706cf84 (diff)
Fix a char vs. u_char problem I introduced in the last commit.
-rw-r--r--lib/libc/gen/readpassphrase.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/gen/readpassphrase.c b/lib/libc/gen/readpassphrase.c
index 7b01f1c5b93..d1deba7630d 100644
--- a/lib/libc/gen/readpassphrase.c
+++ b/lib/libc/gen/readpassphrase.c
@@ -26,7 +26,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char rcsid[] = "$OpenBSD: readpassphrase.c,v 1.3 2001/06/16 22:53:10 millert Exp $";
+static char rcsid[] = "$OpenBSD: readpassphrase.c,v 1.4 2001/06/18 17:41:39 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <ctype.h>
@@ -48,7 +48,8 @@ readpassphrase(prompt, buf, bufsiz, flags)
int flags;
{
struct termios term;
- char ch, status, *p, *end;
+ char ch, *p, *end;
+ u_char status;
int echo, input, output;
sigset_t oset, nset;