summaryrefslogtreecommitdiffstats
path: root/libexec/getty/gettytab.h
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2003-06-10 18:30:41 +0000
committeryar <yar@FreeBSD.org>2003-06-10 18:30:41 +0000
commit957fe1b56ff09b44509d20d61fc796c61fcb85c7 (patch)
treedb199664293b0f1afc4dc9f25795697dabcaca02 /libexec/getty/gettytab.h
parente5d76875b99cb9f5bb9a44d36ac897da12f41439 (diff)
downloadFreeBSD-src-957fe1b56ff09b44509d20d61fc796c61fcb85c7.zip
FreeBSD-src-957fe1b56ff09b44509d20d61fc796c61fcb85c7.tar.gz
Read gettytab(5) soon enough to fill in all necessary values.
Re-read gettytab(5) only if needed. This fixes bugs introduced as long ago as in getty/main.c rev.1.15. PR: bin/18181 MFC after: 1 month
Diffstat (limited to 'libexec/getty/gettytab.h')
-rw-r--r--libexec/getty/gettytab.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libexec/getty/gettytab.h b/libexec/getty/gettytab.h
index 1b95bf9..e8b4143 100644
--- a/libexec/getty/gettytab.h
+++ b/libexec/getty/gettytab.h
@@ -170,6 +170,7 @@ struct gettyflags {
#define AB gettyflags[19].value
#define DX gettyflags[20].value
#define NP gettyflags[21].value
+#define NPset gettyflags[21].set
#define MB gettyflags[22].value
#define HW gettyflags[23].value
#define NC gettyflags[24].value
OpenPOWER on IntegriCloud