summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-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) {