mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-29 13:28:10 +00:00
fixed incorrect #ifdef
termio uses "unsigned short" not int for c_?flag
This commit is contained in:
parent
f3268e58e9
commit
993b7e5ecc
@ -102,10 +102,10 @@ char * tgetpass(prompt, timeout)
|
|||||||
#else
|
#else
|
||||||
int oldmask;
|
int oldmask;
|
||||||
#endif
|
#endif
|
||||||
#ifdef HAVE_TERMIO_H
|
#ifdef HAVE_TERMIOS_H
|
||||||
tcflag_t svflagval;
|
tcflag_t svflagval;
|
||||||
#else
|
#else
|
||||||
int svflagval;
|
unsigned short svflagval;
|
||||||
#endif
|
#endif
|
||||||
fd_set readfds;
|
fd_set readfds;
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user