summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-02-16 04:57:56 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-02-16 04:57:56 +0000
commit5fe7ab2f93c196191a72f83c2064e54e6249bad3 (patch)
treed0f8a08a46fbb815581c44d567f0ea647c015469
parent401e6c3935f5abbcff2c90a66b58dab8f55504c5 (diff)
fixes to compile against netbsd domestic libtelnet
-rw-r--r--libexec/telnetd/utility.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/telnetd/utility.c b/libexec/telnetd/utility.c
index 54db900805a..1cd559966e6 100644
--- a/libexec/telnetd/utility.c
+++ b/libexec/telnetd/utility.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utility.c,v 1.8 1997/07/23 20:36:36 kstailey Exp $ */
+/* $OpenBSD: utility.c,v 1.9 1998/02/16 04:57:55 jason Exp $ */
/* $NetBSD: utility.c,v 1.9 1996/02/28 20:38:29 thorpej Exp $ */
/*
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)utility.c 8.4 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: utility.c,v 1.9 1996/02/28 20:38:29 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: utility.c,v 1.8 1997/07/23 20:36:36 kstailey Exp $";
+static char rcsid[] = "$OpenBSD: utility.c,v 1.9 1998/02/16 04:57:55 jason Exp $";
#endif
#endif /* not lint */
@@ -515,6 +515,7 @@ printsub(direction, pointer, length)
int length; /* length of suboption data */
{
register int i;
+ char buf[512];
if (!(diagnostic & TD_OPTIONS))
return;