chiark / gitweb /
scope: fix state string table
authorLennart Poettering <lennart@poettering.net>
Mon, 1 Jul 2013 23:35:58 +0000 (01:35 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 1 Jul 2013 23:48:55 +0000 (01:48 +0200)
src/core/scope.c

index e1a3545..e0de951 100644 (file)
@@ -414,7 +414,7 @@ _pure_ static const char *scope_sub_state_to_string(Unit *u) {
 
 static const char* const scope_state_table[_SCOPE_STATE_MAX] = {
         [SCOPE_DEAD] = "dead",
-        [SCOPE_RUNNING] = "active",
+        [SCOPE_RUNNING] = "running",
         [SCOPE_STOP_SIGTERM] = "stop-sigterm",
         [SCOPE_STOP_SIGKILL] = "stop-sigkill",
         [SCOPE_FAILED] = "failed",