fix reversed enabled/disabled, active/inactive printout
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Nov 2011 09:10:14 +0000 (04:10 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 21 Nov 2011 09:10:14 +0000 (04:10 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng/commands/list.c

index a3d8868b52c6539117c7b5f8f8b07173d5cc18d0..bac17b8970b9c88379f47b81fc977ed1ec461602 100644 (file)
@@ -113,8 +113,8 @@ static
 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;
        }
@@ -124,8 +124,8 @@ static
 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;
        }
This page took 0.035474 seconds and 4 git commands to generate.