use size_t for the size of things in memory, not int.
authordlg <dlg@openbsd.org>
Tue, 13 Jun 2017 06:16:31 +0000 (06:16 +0000)
committerdlg <dlg@openbsd.org>
Tue, 13 Jun 2017 06:16:31 +0000 (06:16 +0000)
commit7ca29ea323649baba8c5ce0a5eb278d877d9c040
tree419bb2430a0c59fafdcc38cfc226af374e2bf035
parent1933952becb87bc4f5750724fbd8c5086e25e9bc
use size_t for the size of things in memory, not int.

this tweaks the len argument to sysctl_rdstring, sysctl_struct, and
sysctl_rdstruct.

there's probably more to fix.

ok millert@
sys/kern/kern_sysctl.c
sys/sys/sysctl.h