From: Karel Zak Date: Tue, 9 May 2017 09:59:53 +0000 (+0200) Subject: sulogin: add missing type X-Git-Tag: v2.30-rc1~27 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=626aa65180384c83e1e2aa4408ca9956563f7826;p=thirdparty%2Futil-linux.git sulogin: add missing type Signed-off-by: Karel Zak --- diff --git a/login-utils/sulogin.c b/login-utils/sulogin.c index 093d7f9e2c..2487838e70 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;