summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:42:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-06-23 01:42:05 +0000
commita8708d6696b3d2e0a1ba7ddd8ddaf92401ef7ef4 (patch)
treec42e3fd89586c666afdccb66454d4e4d91f91b09
parent01a576309148b962f52616666850c6631f5a33bb (diff)
oops
-rw-r--r--sys/kern/uipc_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/uipc_socket.c b/sys/kern/uipc_socket.c
index 1503e24315c..d84b4a97d18 100644
--- a/sys/kern/uipc_socket.c
+++ b/sys/kern/uipc_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uipc_socket.c,v 1.13 1997/06/23 00:22:03 deraadt Exp $ */
+/* $OpenBSD: uipc_socket.c,v 1.14 1997/06/23 01:42:04 deraadt Exp $ */
/* $NetBSD: uipc_socket.c,v 1.21 1996/02/04 02:17:52 christos Exp $ */
/*
@@ -897,7 +897,7 @@ sosetopt(so, level, optname, m0)
error = EINVAL;
goto bad;
}
- bufsize = *mtod(m, int *);
+ cnt = *mtod(m, int *);
if ((long)cnt <= 0)
cnt = 1;
switch (optname) {