sulogin: add missing type

Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
Karel Zak 2017-05-09 11:59:53 +02:00
parent b1f1fe3dff
commit 626aa65180
1 changed files with 1 additions and 1 deletions

View File

@ -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;