diff options
-rw-r--r-- | include/pathnames.h | 3 | ||||
-rw-r--r-- | term-utils/agetty.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/include/pathnames.h b/include/pathnames.h index 4faca1fc4..1ab0bcda6 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 74203b8cc..e0eac382b 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 |