From: Sami Kerola Date: Tue, 26 Apr 2011 19:29:00 +0000 (+0200) Subject: agetty.c: move issue path to pathnames.h X-Git-Tag: v2.20-rc1~309 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=96cc7b0b3ed965bd03796ecead4fb52903ab7069;p=thirdparty%2Futil-linux.git agetty.c: move issue path to pathnames.h Signed-off-by: Sami Kerola --- 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