summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2007-06-04 18:02:23 +0000
committerdwmalone <dwmalone@FreeBSD.org>2007-06-04 18:02:23 +0000
commit79a4f2f433b1fe77a78af77b36bf1611ecc780b7 (patch)
treeabd0627ca4a2b710ffd1abeb4e47d3ffe7b45f0d /sys
parentc118c8a64b9deccf7562b4b423b46ea2c9e36f18 (diff)
downloadFreeBSD-src-79a4f2f433b1fe77a78af77b36bf1611ecc780b7.zip
FreeBSD-src-79a4f2f433b1fe77a78af77b36bf1611ecc780b7.tar.gz
Use common code for printing ints and longs by coppying the sysctl
value into a variable of the right type and then printing it via an intmax_t. This makes avoids some duplication and makes it easy to add a new integer format Q for printing things of type CTLTYPE_QUAD.
Diffstat (limited to 'sys')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud