summaryrefslogtreecommitdiff
path: root/libexec/getty
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-31 19:13:37 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2001-01-31 19:13:37 +0000
commit4a918ed330409e3ba82f86b8036342df94b7e0bb (patch)
tree960d4e563e0c9012452a78b679479bb6ec470bb4 /libexec/getty
parentcd2c68dd712944d1e2025e45122f902feb398d6a (diff)
more fat utmp; ianm@cit.uws.edu.au
Diffstat (limited to 'libexec/getty')
-rw-r--r--libexec/getty/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/getty/main.c b/libexec/getty/main.c
index 4783404a78c..5a900c5fe96 100644
--- a/libexec/getty/main.c
+++ b/libexec/getty/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.17 2001/01/28 19:34:28 niklas Exp $ */
+/* $OpenBSD: main.c,v 1.18 2001/01/31 19:13:36 deraadt Exp $ */
/*-
* Copyright (c) 1980, 1993
@@ -41,7 +41,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
-static char rcsid[] = "$OpenBSD: main.c,v 1.17 2001/01/28 19:34:28 niklas Exp $";
+static char rcsid[] = "$OpenBSD: main.c,v 1.18 2001/01/31 19:13:36 deraadt Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -90,7 +90,7 @@ int crmod, digit, lower, upper;
char hostname[MAXHOSTNAMELEN];
struct utsname kerninfo;
-char name[16];
+char name[MAXLOGNAME];
char dev[] = _PATH_DEV;
char ttyn[32];
char *portselector();