]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - term-utils/agetty.c
agetty: fix prompt
[thirdparty/util-linux.git] / term-utils / agetty.c
index 9b0812734e25c34044c041968dbcf2f0a58d0d81..45e25313322993face6bb59ff792bd0c69c7b8db 100644 (file)
@@ -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);
        }
 }