diff options
author | 1998-02-16 04:57:55 +0000 | |
---|---|---|
committer | 1998-02-16 04:57:55 +0000 | |
commit | c27e1f839e401aa9123c55473b593d50d6e3dbc7 (patch) | |
tree | 72590f1099c9c5af30801e5011b0418cc67887a6 | |
parent | Explicitly chdir when building snapshot kernels and their associated (diff) | |
download | wireguard-openbsd-c27e1f839e401aa9123c55473b593d50d6e3dbc7.tar.xz wireguard-openbsd-c27e1f839e401aa9123c55473b593d50d6e3dbc7.zip |
fixes to compile against netbsd domestic libtelnet
-rw-r--r-- | libexec/telnetd/utility.c | 5 | ||||
-rw-r--r-- | usr.bin/telnet/utilities.c | 5 |
2 files changed, 6 insertions, 4 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; diff --git a/usr.bin/telnet/utilities.c b/usr.bin/telnet/utilities.c index d1671d64cf2..4f3f15105b7 100644 --- a/usr.bin/telnet/utilities.c +++ b/usr.bin/telnet/utilities.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utilities.c,v 1.3 1996/12/12 11:24:08 robin Exp $ */ +/* $OpenBSD: utilities.c,v 1.4 1998/02/16 04:59:04 jason Exp $ */ /* $NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $ */ /* @@ -39,7 +39,7 @@ static char sccsid[] = "@(#)utilities.c 8.3 (Berkeley) 5/30/95"; static char rcsid[] = "$NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $"; #else -static char rcsid[] = "$OpenBSD: utilities.c,v 1.3 1996/12/12 11:24:08 robin Exp $"; +static char rcsid[] = "$OpenBSD: utilities.c,v 1.4 1998/02/16 04:59:04 jason Exp $"; #endif #endif /* not lint */ @@ -304,6 +304,7 @@ printsub(direction, pointer, length) int length; /* length of suboption data */ { register int i; + char buf[512]; extern int want_status_response; if (showoptions || direction == 0 || |