From 1d37c285b4b9e9a51caee67c8c42c0386e8c0274 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 2 May 2022 15:40:23 +0200 Subject: [PATCH] agetty: fix prompt Reported-by: Jeff Chua Signed-off-by: Karel Zak --- term-utils/agetty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.47.2