diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-24 11:42:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-01-24 11:42:38 +0000 |
commit | 4cd1708a51cb0aab93eb8471d04950d50f537731 (patch) | |
tree | 2d1f81b6e7834b5897f7511632475d1446763b5a | |
parent | e1f1c697df35cd2b7257b2f94e4e63e3ef07f1a5 (diff) |
sysctl() arg 4 is a size_t, not int
-rw-r--r-- | libexec/rpc.rstatd/rstat_proc.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c index fddb974d62c..39f5b8d3344 100644 --- a/libexec/rpc.rstatd/rstat_proc.c +++ b/libexec/rpc.rstatd/rstat_proc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rstat_proc.c,v 1.12 2001/01/17 19:23:26 deraadt Exp $ */ +/* $OpenBSD: rstat_proc.c,v 1.13 2001/01/24 11:42:37 deraadt Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -31,7 +31,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro";*/ /*static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC";*/ -static char rcsid[] = "$OpenBSD: rstat_proc.c,v 1.12 2001/01/17 19:23:26 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: rstat_proc.c,v 1.13 2001/01/24 11:42:37 deraadt Exp $"; #endif /* @@ -216,7 +216,8 @@ updatestat() int i, save_errno = errno; #ifdef UVM struct uvmexp uvmexp; - int mib[2], len; + int mib[2]; + size_t len; #else struct vmmeter cnt; #endif |