mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
a0dd2317e8
In vmstat there is a switch statement that converts these attributes to
a string. As some values can be duplicate we have to hide these from
userspace.
Replace this switch statement with an if ... else macro that lets us
repeat values without a compiler error.
Reviewed by: kib
MFC after: 2 weeks
Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D29703
(cherry picked from commit
|
||
---|---|---|
.. | ||
tests | ||
Makefile | ||
Makefile.depend | ||
vmstat.8 | ||
vmstat.c |