From: Karel Zak Date: Mon, 2 May 2022 13:40:23 +0000 (+0200) Subject: agetty: fix prompt X-Git-Tag: v2.39-rc1~677 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1d37c285b4b9e9a51caee67c8c42c0386e8c0274;p=thirdparty%2Futil-linux.git agetty: fix prompt Reported-by: Jeff Chua Signed-off-by: Karel Zak --- diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 9b0812734e..45e2531332 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -2149,7 +2149,7 @@ again: if (!op->autolog) { /* Always show login prompt. */ write_all(STDOUT_FILENO, LOGIN_PROMPT, - sizeof(LOGIN_PROCESS) - 1); + sizeof(LOGIN_PROMPT) - 1); } }