]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
counter: fix SYSCTL_COUNTER_U64_ARRAY type
authorGleb Smirnoff <glebius@FreeBSD.org>
Thu, 17 Nov 2022 16:16:14 +0000 (08:16 -0800)
committerGleb Smirnoff <glebius@FreeBSD.org>
Thu, 17 Nov 2022 16:16:14 +0000 (08:16 -0800)
commitbc5708c0e2fc7a936e06a7916c292023ebd53e2a
tree28b9195c8facc18c3df21a442319f11068c10617
parentf1ad5e3931996d222e87140c5621323b6986e1ff
counter: fix SYSCTL_COUNTER_U64_ARRAY type

There is nothing wrong with declaring an array as CTLTYPE_U64.  Note
that sysctl(8) is able to print such arrays and doesn't need any change.

Fixes: b5b7b142a7e0e74bdd8c497f6a14804e71654dfd
sys/sys/sysctl.h