diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 1995-09-03 18:09:40 +0000 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 1995-09-03 18:09:40 +0000 |
commit | 7ada75ab152c69220b40b4666e15439511c5d60d (patch) | |
tree | d5578e88b964ca0887fffcf2ae6d8929c6cc317a /tgetpass.c | |
parent | aa4aef754850037a8d3458c3434a376d1d8b3152 (diff) | |
download | sudo-7ada75ab152c69220b40b4666e15439511c5d60d.tar.gz |
fixed incorrect #ifdef
termio uses "unsigned short" not int for c_?flag
Diffstat (limited to 'tgetpass.c')
-rw-r--r-- | tgetpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tgetpass.c b/tgetpass.c index 750113d8f..30c3c775f 100644 --- a/tgetpass.c +++ b/tgetpass.c @@ -102,10 +102,10 @@ char * tgetpass(prompt, timeout) #else int oldmask; #endif -#ifdef HAVE_TERMIO_H +#ifdef HAVE_TERMIOS_H tcflag_t svflagval; #else - int svflagval; + unsigned short svflagval; #endif fd_set readfds; struct timeval tv; |