X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Ftimer.c;h=fd8e50e71c5eeeecf88ff7c4fcd9f83e709ab519;hb=1a512bf48cdc05d135c9b2770ca5d0bdd6310666;hp=8061f79e3aefddd31937eb49ce8ca7f874d7947c;hpb=74051b9b5865586bf4d30b9075649af838fb92bd;p=elogind.git diff --git a/src/core/timer.c b/src/core/timer.c index 8061f79e3..fd8e50e71 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -328,7 +328,7 @@ static void timer_enter_waiting(Timer *t, bool initial) { if (found_monotonic) { char buf[FORMAT_TIMESPAN_MAX]; log_debug_unit(UNIT(t)->id, - "%s: Monotonic timer elapses in %s the next time.", + "%s: Monotonic timer elapses in %s.", UNIT(t)->id, format_timespan(buf, sizeof(buf), t->next_elapse_monotonic > ts.monotonic ? t->next_elapse_monotonic - ts.monotonic : 0)); @@ -341,7 +341,7 @@ static void timer_enter_waiting(Timer *t, bool initial) { if (found_realtime) { char buf[FORMAT_TIMESTAMP_MAX]; log_debug_unit(UNIT(t)->id, - "%s: Realtime timer elapses at %s the next time.", + "%s: Realtime timer elapses at %s.", UNIT(t)->id, format_timestamp(buf, sizeof(buf), t->next_elapse_realtime));