summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/ibcs2/ibcs2_misc.c5
-rw-r--r--sys/compat/svr4/svr4_socket.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/compat/ibcs2/ibcs2_misc.c b/sys/compat/ibcs2/ibcs2_misc.c
index 70462e15189..b8c82282267 100644
--- a/sys/compat/ibcs2/ibcs2_misc.c
+++ b/sys/compat/ibcs2/ibcs2_misc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ibcs2_misc.c,v 1.23 2002/03/14 03:16:03 millert Exp $ */
+/* $OpenBSD: ibcs2_misc.c,v 1.24 2002/04/25 21:01:41 espie Exp $ */
/* $NetBSD: ibcs2_misc.c,v 1.23 1997/01/15 01:37:49 perry Exp $ */
/*
@@ -694,7 +694,8 @@ ibcs2_sys_sysconf(p, v, retval)
struct ibcs2_sys_sysconf_args /* {
syscallarg(int) name;
} */ *uap = v;
- int mib[2], value, len, error;
+ int mib[2], value, error;
+ size_t len;
struct sys___sysctl_args sa;
struct sys_getrlimit_args ga;
diff --git a/sys/compat/svr4/svr4_socket.c b/sys/compat/svr4/svr4_socket.c
index 3d8ca6a7d22..4eb3055647f 100644
--- a/sys/compat/svr4/svr4_socket.c
+++ b/sys/compat/svr4/svr4_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: svr4_socket.c,v 1.3 1997/08/29 19:56:37 kstailey Exp $ */
+/* $OpenBSD: svr4_socket.c,v 1.4 2002/04/25 21:01:41 espie Exp $ */
/* $NetBSD: svr4_socket.c,v 1.4 1997/07/21 23:02:37 christos Exp $ */
/*
@@ -141,7 +141,8 @@ svr4_add_socket(p, path, st)
struct stat *st;
{
struct svr4_sockcache_entry *e;
- int len, error;
+ size_t len;
+ int error;
if (!initialized) {
TAILQ_INIT(&svr4_head);