From: Karel Zak Date: Mon, 27 Mar 2017 16:02:54 +0000 (+0200) Subject: agetty: fix typo X-Git-Tag: v2.30-rc1~153 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ff67eb9c88298f5e47007c56724aa102a1623ac;p=thirdparty%2Futil-linux.git agetty: fix typo Signed-off-by: Karel Zak --- diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 0b22104deb..da6c9e5e36 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -1863,7 +1863,7 @@ static char *get_logname(struct options *op, struct termios *tp, struct chardata * (disabled ECHO in wait_for_term_input()). */ if (!wait_for_term_input(STDIN_FILENO, - prebuf, sizeof(prebuf), &readsz)) { + prebuf, sizeof(prebuf), &presz)) { if (op->flags & F_VCONSOLE) termio_clear(STDOUT_FILENO);