diff options
Diffstat (limited to 'loginutils')
-rw-r--r-- | loginutils/getty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index ed7e09aca..becff5c78 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -375,7 +375,7 @@ static char *get_logname(void) /* Flush pending input (esp. after parsing or switching the baud rate) */ usleep(100*1000); /* 0.1 sec */ - tcflush(STDIN_FILENO, TCIOFLUSH); + tcflush(STDIN_FILENO, TCIFLUSH); /* Prompt for and read a login name */ G.line_buf[0] = '\0'; |