Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
const char *active_string(int value)
{
switch (value) {
- case 0: return " [active]";
- case 1: return " [inactive]";
+ case 0: return " [inactive]";
+ case 1: return " [active]";
case -1: return "";
default: return NULL;
}
const char *enabled_string(int value)
{
switch (value) {
- case 0: return " [enabled]";
- case 1: return " [disabled]";
+ case 0: return " [disabled]";
+ case 1: return " [enabled]";
case -1: return "";
default: return NULL;
}