HomeFreeBSD

Fix OID format for `vm.swap_reserved` and `vm.swap_total`

Description

Fix OID format for vm.swap_reserved and vm.swap_total

The correct OID format for CTLTYPE_U64 is QU (uquad_t), not A
(text expressed via char *).

This issue was noticed while doing an sysctl tree walk using a
sysctl(9) consumer that relies on the OID format to intuit what the
type should be for a given sysctl.

MFC after: 1 month
Sponsored by: DellEMC Isilon
Differential Revision: https://reviews.freebsd.org/D34877

Details

Provenance
ngieAuthored on Apr 11 2022, 1:17 AM
Differential Revision
D34877: Fix OID format for `vm.swap_reserved` and `vm.swap_total`
Parents
rGd4e8207317ca: vmm_instruction_emul.c: fix bhyve build
Branches
Unknown
Tags
Unknown