summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>2001-04-18 09:06:43 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>2001-04-18 09:06:43 +0000
commit923c39e811abc6ba3901aadd88cf9844ff67305e (patch)
tree14fc2feb78017933f80cdc126a304480b0e60809
parentd0f34938a4d3986660db375c84c341cca0b6b60f (diff)
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)