diff options
-rw-r--r-- | login-utils/sulogin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c index 093d7f9e2..2487838e7 100644 --- a/login-utils/sulogin.c +++ b/login-utils/sulogin.c @@ -103,7 +103,7 @@ static void tcinit(struct console *con) { int flags = 0, mode = 0; struct termios *tio = &con->tio; - const fd = con->fd; + const int fd = con->fd; #ifdef USE_PLYMOUTH_SUPPORT struct termios lock; int i = (plymouth_command(MAGIC_PING)) ? PLYMOUTH_TERMIOS_FLAGS_DELAY : 0; |