From 96cc7b0b3ed965bd03796ecead4fb52903ab7069 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Tue, 26 Apr 2011 21:29:00 +0200 Subject: [PATCH] agetty.c: move issue path to pathnames.h Signed-off-by: Sami Kerola --- include/pathnames.h | 3 +++ term-utils/agetty.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/pathnames.h b/include/pathnames.h index 4faca1fc48..1ab0bcda62 100644 --- a/include/pathnames.h +++ b/include/pathnames.h @@ -68,6 +68,9 @@ #define _PATH_SHADOW_GTMP "/etc/sgtmp" #define _PATH_SHADOW_GTMPTMP "/etc/sgtmptmp" +/* used in term-utils/agetty.c */ +#define _PATH_ISSUE "/etc/issue" + /* used in misc-utils/look.c */ #define _PATH_WORDS "/usr/share/dict/words" #define _PATH_WORDS_ALT "/usr/share/dict/web2" diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 74203b8cc9..e0eac382b2 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -67,7 +67,7 @@ /* Displayed before the login prompt. */ #ifdef SYSV_STYLE -# define ISSUE "/etc/issue" +# define ISSUE _PATH_ISSUE # include #endif -- 2.47.3