summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authordavidn <davidn@FreeBSD.org>1997-02-07 11:45:10 +0000
committerdavidn <davidn@FreeBSD.org>1997-02-07 11:45:10 +0000
commit69f67f3e27b84bc8f623644e359b3df045bc3165 (patch)
treeefb8351863ad7475e4cbced177dbb576c29f3f4d /libexec
parent32b56960eb9d10f9a6c1c6a3ec0e200b10d88c3f (diff)
downloadFreeBSD-src-69f67f3e27b84bc8f623644e359b3df045bc3165.zip
FreeBSD-src-69f67f3e27b84bc8f623644e359b3df045bc3165.tar.gz
Increased username size to allow passing username:auth_method to
login.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 17d7b70..ecd6934 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -93,7 +93,7 @@ struct termios tmode, omode;
int crmod, digit, lower, upper;
char hostname[MAXHOSTNAMELEN];
-char name[MAXLOGNAME+1];
+char name[MAXLOGNAME*3];
char dev[] = _PATH_DEV;
char ttyn[32];
OpenPOWER on IntegriCloud