aboutsummaryrefslogtreecommitdiff
path: root/libexec/getty/init.c
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2001-06-07 13:53:23 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2001-06-07 13:53:23 +0000
commitdb563f3175083780fd6036ba923054faf130629a (patch)
tree2f1a1801cbb6414b53d0de6e676c6c7cd924bb72 /libexec/getty/init.c
parent334b4431faa2afff081de94ecef1ae341a6f9585 (diff)
Notes
Diffstat (limited to 'libexec/getty/init.c')
-rw-r--r--libexec/getty/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libexec/getty/init.c b/libexec/getty/init.c
index d8c70e064e8dd..dae64b2742074 100644
--- a/libexec/getty/init.c
+++ b/libexec/getty/init.c
@@ -52,6 +52,7 @@ static const char rcsid[] =
static char loginmsg[] = "login: ";
static char nullstr[] = "";
static char loginprg[] = _PATH_LOGIN;
+static char datefmt[] = "%+";
struct gettystrs gettystrs[] = {
{ "nx" }, /* next table */
@@ -84,6 +85,7 @@ struct gettystrs gettystrs[] = {
{ "ic" }, /* modem init-chat */
{ "ac" }, /* modem answer-chat */
{ "al" }, /* user to auto-login */
+ { "df", datefmt}, /* format for strftime() */
{ 0 }
};