Signed-off-by: Sami Kerola <kerolasa@xxxxxx> --- include/pathnames.h | 3 +++ term-utils/agetty.c | 2 +- 2 files changed, 4 insertions(+), 1 deletions(-) diff --git a/include/pathnames.h b/include/pathnames.h index 4faca1f..1ab0bcd 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 74203b8..e0eac38 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 <sys/utsname.h> #endif -- 1.7.4.4 -- To unsubscribe from this list: send the line "unsubscribe util-linux" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html