projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change buffer lengths of sysctl(2) to be size_t's
[unix-history]
/
usr
/
src
/
sys
/
vm
/
vm_meter.c
diff --git
a/usr/src/sys/vm/vm_meter.c
b/usr/src/sys/vm/vm_meter.c
index
bfe2b7e
..
191fa6b
100644
(file)
--- a/
usr/src/sys/vm/vm_meter.c
+++ b/
usr/src/sys/vm/vm_meter.c
@@
-4,7
+4,7
@@
*
* %sccs.include.redist.c%
*
*
* %sccs.include.redist.c%
*
- * @(#)vm_meter.c 7.
19
(Berkeley) %G%
+ * @(#)vm_meter.c 7.
20
(Berkeley) %G%
*/
#include <sys/param.h>
*/
#include <sys/param.h>
@@
-79,9
+79,9
@@
vm_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p)
int *name;
u_int namelen;
void *oldp;
int *name;
u_int namelen;
void *oldp;
-
u_in
t *oldlenp;
+
size_
t *oldlenp;
void *newp;
void *newp;
-
u_in
t newlen;
+
size_
t newlen;
struct proc *p;
{
struct vmtotal vmtotals;
struct proc *p;
{
struct vmtotal vmtotals;