tweak sysctl_string and sysctl_tstring to use size_t for lengths, not int
authordlg <dlg@openbsd.org>
Wed, 14 Jun 2017 03:00:40 +0000 (03:00 +0000)
committerdlg <dlg@openbsd.org>
Wed, 14 Jun 2017 03:00:40 +0000 (03:00 +0000)
commit3f376b0849a3d7e59ed23ac6dba2b729fc2c7589
treea572632a60bff6deeeafec16f5b1166994a15da5
parent6167ec38c25c524dfc7cd0fa734962d15add0402
tweak sysctl_string and sysctl_tstring to use size_t for lengths, not int

theyre both wrappers around sysctl__string, which is where half the
fix is too.
sys/kern/kern_sysctl.c
sys/sys/sysctl.h