summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2001-06-18 17:41:39 +0000
committermillert <millert@openbsd.org>2001-06-18 17:41:39 +0000
commit45f237f4f62d7972ac1df7114c816152f8edafd8 (patch)
tree64f833f493f2aeafe00b6a3853538cf2896fb997 /lib/libc
parentPalmOS fixes (diff)
downloadwireguard-openbsd-45f237f4f62d7972ac1df7114c816152f8edafd8.tar.xz
wireguard-openbsd-45f237f4f62d7972ac1df7114c816152f8edafd8.zip
Fix a char vs. u_char problem I introduced in the last commit.
Diffstat (limited to 'lib/libc')
-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;