diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-01 03:34:15 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-01 03:34:15 +0200 |
commit | 032ff4afc953cae076ce0ee6a0b85020eeb1a75a (patch) | |
tree | a02edabae64a7b9d52c33b6ee77f40e59ad0fb19 /src/mount.c | |
parent | 2419cc5bdb66304adf7be4cf60af91979c5d24d9 (diff) |
unit: shorten active state enums to make systemctl output nicer
Diffstat (limited to 'src/mount.c')
-rw-r--r-- | src/mount.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mount.c b/src/mount.c index f0336163ac..86c5b0a8cf 100644 --- a/src/mount.c +++ b/src/mount.c @@ -42,15 +42,15 @@ static const UnitActiveState state_translation_table[_MOUNT_STATE_MAX] = { [MOUNT_MOUNTING] = UNIT_ACTIVATING, [MOUNT_MOUNTING_DONE] = UNIT_ACTIVE, [MOUNT_MOUNTED] = UNIT_ACTIVE, - [MOUNT_REMOUNTING] = UNIT_ACTIVE_RELOADING, + [MOUNT_REMOUNTING] = UNIT_RELOADING, [MOUNT_UNMOUNTING] = UNIT_DEACTIVATING, [MOUNT_MOUNTING_SIGTERM] = UNIT_DEACTIVATING, [MOUNT_MOUNTING_SIGKILL] = UNIT_DEACTIVATING, - [MOUNT_REMOUNTING_SIGTERM] = UNIT_ACTIVE_RELOADING, - [MOUNT_REMOUNTING_SIGKILL] = UNIT_ACTIVE_RELOADING, + [MOUNT_REMOUNTING_SIGTERM] = UNIT_RELOADING, + [MOUNT_REMOUNTING_SIGKILL] = UNIT_RELOADING, [MOUNT_UNMOUNTING_SIGTERM] = UNIT_DEACTIVATING, [MOUNT_UNMOUNTING_SIGKILL] = UNIT_DEACTIVATING, - [MOUNT_MAINTENANCE] = UNIT_INACTIVE_MAINTENANCE + [MOUNT_MAINTENANCE] = UNIT_MAINTENANCE }; static void mount_init(Unit *u) { |