diff options
author | dwmalone <dwmalone@FreeBSD.org> | 2007-06-04 18:02:23 +0000 |
---|---|---|
committer | dwmalone <dwmalone@FreeBSD.org> | 2007-06-04 18:02:23 +0000 |
commit | 79a4f2f433b1fe77a78af77b36bf1611ecc780b7 (patch) | |
tree | abd0627ca4a2b710ffd1abeb4e47d3ffe7b45f0d /sys/cddl/compat/opensolaris/kern/opensolaris_kstat.c | |
parent | c118c8a64b9deccf7562b4b423b46ea2c9e36f18 (diff) | |
download | FreeBSD-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/cddl/compat/opensolaris/kern/opensolaris_kstat.c')
0 files changed, 0 insertions, 0 deletions