From 10717a1a8d48e50463abf2f6b47e2618eaa529e7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 27 Oct 2010 00:01:12 +0200 Subject: unit: serialize active timestamps --- src/timer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/timer.c') diff --git a/src/timer.c b/src/timer.c index 0dcaad5091..b01944ccdb 100644 --- a/src/timer.c +++ b/src/timer.c @@ -197,9 +197,9 @@ static void timer_enter_waiting(Timer *t, bool initial) { switch (v->base) { case TIMER_ACTIVE: - if (state_translation_table[t->state] == UNIT_ACTIVE) { + if (state_translation_table[t->state] == UNIT_ACTIVE) base = t->meta.inactive_exit_timestamp.monotonic; - } else + else base = n; break; -- cgit v1.2.3-54-g00ecf