diff --git a/libexec/getty/main.c b/libexec/getty/main.c index 17d7b7010cbb..ecd693444541 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];