From 032ff4afc953cae076ce0ee6a0b85020eeb1a75a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 1 Jul 2010 03:34:15 +0200 Subject: unit: shorten active state enums to make systemctl output nicer --- src/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/swap.c') 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) { -- cgit v1.2.3-54-g00ecf