summaryrefslogtreecommitdiff
path: root/src/swap.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-01 03:34:15 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-01 03:34:15 +0200
commit032ff4afc953cae076ce0ee6a0b85020eeb1a75a (patch)
treea02edabae64a7b9d52c33b6ee77f40e59ad0fb19 /src/swap.c
parent2419cc5bdb66304adf7be4cf60af91979c5d24d9 (diff)
unit: shorten active state enums to make systemctl output nicer
Diffstat (limited to 'src/swap.c')
-rw-r--r--src/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/swap.c b/src/swap.c
index e2afcc02eb..2e3e995c3e 100644
--- a/src/swap.c
+++ b/src/swap.c
@@ -38,7 +38,7 @@
static const UnitActiveState state_translation_table[_SWAP_STATE_MAX] = {
[SWAP_DEAD] = UNIT_INACTIVE,
[SWAP_ACTIVE] = UNIT_ACTIVE,
- [SWAP_MAINTENANCE] = UNIT_INACTIVE_MAINTENANCE
+ [SWAP_MAINTENANCE] = UNIT_MAINTENANCE
};
static void swap_init(Unit *u) {