HomeFreeBSD

prometheus_sysctl_exporter: Replace magic numbers with identifiers.

Description

prometheus_sysctl_exporter: Replace magic numbers with identifiers.

Identifiers make it clearer what is going on and makes it easier to
find consumers of sysctl functionality.

No functional change.

MFC after: 3 days
Reviewed by: asomers
Differential Revision: https://reviews.freebsd.org/D39797

Details

Provenance
peterjAuthored on Apr 26 2023, 8:29 AM
Reviewer
asomers
Differential Revision
D39797: prometheus_sysctl_exporter: Replace magic numbers with identifiers.
Parents
rG16f23f754329: bhyve: pass E820 table to guest
Branches
Unknown
Tags
Unknown