From: Zbigniew Jędrzejewski-Szmek Date: Mon, 21 Nov 2022 19:03:08 +0000 (+0100) Subject: manager: fix format strings for trigger metadata X-Git-Tag: v253-rc1~475^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6457ce15be84cf3c304d1ba47b89bacc2f60bf6e;p=thirdparty%2Fsystemd.git manager: fix format strings for trigger metadata Fixup for c8bc7519c888a99134f88f8c82353246d3c0cc5d. --- diff --git a/src/core/timer.c b/src/core/timer.c index 8bd430b931d..b6810c8599b 100644 --- a/src/core/timer.c +++ b/src/core/timer.c @@ -948,11 +948,11 @@ static int activation_details_timer_append_env(ActivationDetails *details, char if (!dual_timestamp_is_set(&t->last_trigger)) return 0; - r = strv_extendf(strv, "TRIGGER_TIMER_REALTIME_USEC=%" USEC_FMT, t->last_trigger.realtime); + r = strv_extendf(strv, "TRIGGER_TIMER_REALTIME_USEC=" USEC_FMT, t->last_trigger.realtime); if (r < 0) return r; - r = strv_extendf(strv, "TRIGGER_TIMER_MONOTONIC_USEC=%" USEC_FMT, t->last_trigger.monotonic); + r = strv_extendf(strv, "TRIGGER_TIMER_MONOTONIC_USEC=" USEC_FMT, t->last_trigger.monotonic); if (r < 0) return r; @@ -974,7 +974,7 @@ static int activation_details_timer_append_pair(ActivationDetails *details, char if (r < 0) return r; - r = strv_extendf(strv, "%" USEC_FMT, t->last_trigger.realtime); + r = strv_extendf(strv, USEC_FMT, t->last_trigger.realtime); if (r < 0) return r; @@ -982,7 +982,7 @@ static int activation_details_timer_append_pair(ActivationDetails *details, char if (r < 0) return r; - r = strv_extendf(strv, "%" USEC_FMT, t->last_trigger.monotonic); + r = strv_extendf(strv, USEC_FMT, t->last_trigger.monotonic); if (r < 0) return r;