diff options
author | Karel Zak | 2017-03-27 18:02:54 +0200 |
---|---|---|
committer | Karel Zak | 2017-03-27 18:02:54 +0200 |
commit | 9ff67eb9c88298f5e47007c56724aa102a1623ac (patch) | |
tree | 3cd19652e5b14414221a25b67ae1737ef4aab399 /term-utils/agetty.c | |
parent | tests: define columns for fincore test (diff) | |
download | kernel-qcow2-util-linux-9ff67eb9c88298f5e47007c56724aa102a1623ac.tar.gz kernel-qcow2-util-linux-9ff67eb9c88298f5e47007c56724aa102a1623ac.tar.xz kernel-qcow2-util-linux-9ff67eb9c88298f5e47007c56724aa102a1623ac.zip |
agetty: fix typo
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r-- | term-utils/agetty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 0b22104de..da6c9e5e3 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); |