summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2001-04-18 09:06:42 +0000
committerniklas <niklas@openbsd.org>2001-04-18 09:06:42 +0000
commit7202b97ecb2471f699b0100b95da19140bff0318 (patch)
tree5b9caf2e019f8a6ea6ac7d3b6831aed3718c0354
parentRemove last change to powerpc pmap. This has a slight chance of being the (diff)
downloadwireguard-openbsd-7202b97ecb2471f699b0100b95da19140bff0318.tar.xz
wireguard-openbsd-7202b97ecb2471f699b0100b95da19140bff0318.zip
Declare undeclared variable in #ifdef DEBUG_SVR4
-rw-r--r--sys/compat/svr4/svr4_stream.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/compat/svr4/svr4_stream.c b/sys/compat/svr4/svr4_stream.c
index 9ad660e84c1..c4ad581feeb 100644
--- a/sys/compat/svr4/svr4_stream.c
+++ b/sys/compat/svr4/svr4_stream.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_stream.c,v 1.11 2000/08/30 04:17:41 brad Exp $ */
+/* $OpenBSD: svr4_stream.c,v 1.12 2001/04/18 09:06:42 niklas Exp $ */
/* $NetBSD: svr4_stream.c,v 1.19 1996/12/22 23:00:03 fvdl Exp $ */
/*
@@ -147,6 +147,7 @@ show_ioc(str, ioc)
{
u_char *ptr;
int error;
+ int len;
len = ioc->len;
if (len > 1024)