summaryrefslogtreecommitdiff
path: root/libexec/getty
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-07 17:20:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-07 17:20:46 +0000
commit66ebc86030e43eed11f52698d7a2a2a99b5fd283 (patch)
treedb01733565e59e76d6d1bdc28d3d9809c31c528c /libexec/getty
parent9c9b17dbb7b19225197880afae079979eeffe8b0 (diff)
expand hostname to 48 chars; pointed out by msaitoh@spa.is.uec.ac.jp, netbsd pr#2676
Diffstat (limited to 'libexec/getty')
-rw-r--r--libexec/getty/subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/getty/subr.c b/libexec/getty/subr.c
index 249bc42020e..0782f6c5984 100644
--- a/libexec/getty/subr.c
+++ b/libexec/getty/subr.c
@@ -33,7 +33,7 @@
#ifndef lint
/*static char sccsid[] = "from: @(#)subr.c 8.1 (Berkeley) 6/4/93";*/
-static char rcsid[] = "$Id: subr.c,v 1.1 1995/10/18 08:43:17 deraadt Exp $";
+static char rcsid[] = "$Id: subr.c,v 1.2 1996/08/07 17:20:45 deraadt Exp $";
#endif /* not lint */
/*
@@ -552,7 +552,7 @@ adelay(ms, dp)
}
#endif
-char editedhost[32];
+char editedhost[48];
void
edithost(pat)