summaryrefslogtreecommitdiffstats
path: root/src/timer.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-04 21:12:10 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-04 21:12:10 +0200
commit03fae01822b5275a2940458f65644796283a8a23 (patch)
treedf137fe6f20ba6944b4d4cad100dd44df28abc5f /src/timer.c
parentman: update systemctl man page (diff)
downloadsystemd-03fae01822b5275a2940458f65644796283a8a23.tar.xz
systemd-03fae01822b5275a2940458f65644796283a8a23.zip
uniformly suffix time span properties with their unit
Diffstat (limited to 'src/timer.c')
-rw-r--r--src/timer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/timer.c b/src/timer.c
index e3c916bb0f..b4521e6efc 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -440,11 +440,11 @@ static const char* const timer_state_table[_TIMER_STATE_MAX] = {
DEFINE_STRING_TABLE_LOOKUP(timer_state, TimerState);
static const char* const timer_base_table[_TIMER_BASE_MAX] = {
- [TIMER_ACTIVE] = "OnActive",
- [TIMER_BOOT] = "OnBoot",
- [TIMER_STARTUP] = "OnStartup",
- [TIMER_UNIT_ACTIVE] = "OnUnitActive",
- [TIMER_UNIT_INACTIVE] = "OnUnitInactive"
+ [TIMER_ACTIVE] = "OnActiveSec",
+ [TIMER_BOOT] = "OnBootSec",
+ [TIMER_STARTUP] = "OnStartupSec",
+ [TIMER_UNIT_ACTIVE] = "OnUnitActiveSec",
+ [TIMER_UNIT_INACTIVE] = "OnUnitInactiveSec"
};
DEFINE_STRING_TABLE_LOOKUP(timer_base, TimerBase);