From: Aki Tuomi Date: Thu, 4 Feb 2021 06:59:29 +0000 (+0200) Subject: stats: stats-service-openmetrics - Use PRIdTIME_T for startup time X-Git-Tag: 2.3.14.rc1~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bf8286ac5bef35a7e439252aaff447f4a5144f34;p=thirdparty%2Fdovecot%2Fcore.git stats: stats-service-openmetrics - Use PRIdTIME_T for startup time --- diff --git a/src/stats/stats-service-openmetrics.c b/src/stats/stats-service-openmetrics.c index f195bdb389..56c35dd022 100644 --- a/src/stats/stats-service-openmetrics.c +++ b/src/stats/stats-service-openmetrics.c @@ -100,7 +100,7 @@ static void openmetrics_export_dovecot(string_t *out) str_append(out, "# HELP process_start_time_seconds " "Timestamp of service start\n"); str_append(out, "# TYPE process_start_time_seconds gauge\n"); - str_printfa(out, "process_start_time_seconds %"PRIu64"\n", + str_printfa(out, "process_start_time_seconds %"PRIdTIME_T"\n", stats_startup_time); str_append(out, "# HELP dovecot_build "