]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty.c: move issue path to pathnames.h
authorSami Kerola <kerolasa@iki.fi>
Tue, 26 Apr 2011 19:29:00 +0000 (21:29 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 27 Apr 2011 21:21:19 +0000 (23:21 +0200)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
include/pathnames.h
term-utils/agetty.c

index 4faca1fc4817941713a7b207ae092f79d7e78721..1ab0bcda62ccbeb041a67bca72c055427993a731 100644 (file)
@@ -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"
index 74203b8cc9cdf4b1456e43e8b6bfdca318d10aa5..e0eac382b2719d7020b4d35f29fe863f2b43ad0c 100644 (file)
@@ -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