chiark / gitweb /
Do not format USEC_INFINITY as NULL
[elogind.git] / src / core / timer.c
index dc0f289c7afafc943e8d742ac88d4f1663a15fff..a3713e2140d68fba370bf478b6af6899198544e3 100644 (file)
@@ -242,7 +242,7 @@ static void timer_dump(Unit *u, FILE *f, const char *prefix) {
                                 "%s%s: %s\n",
                                 prefix,
                                 timer_base_to_string(v->base),
-                                strna(format_timespan(timespan1, sizeof(timespan1), v->value, 0)));
+                                format_timespan(timespan1, sizeof(timespan1), v->value, 0));
                 }
         }
 }