From 46cf9bc9fe318feaa2ccefc7297c65aa96a11795 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 11 Oct 2021 20:43:33 +0200 Subject: [PATCH] dns: fix format string for printing size_t in send_updates() This in particular breaks i386 builds. Fixes: 6f663b8f8e94 ('dns: log about what NMDnsSystemdResolved is doing') (cherry picked from commit e0e58fd5bc060742568a996ef3f3e28e7363f962) --- src/core/dns/nm-dns-systemd-resolved.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/dns/nm-dns-systemd-resolved.c b/src/core/dns/nm-dns-systemd-resolved.c index 4b8c4f9418..18fd616afb 100644 --- a/src/core/dns/nm-dns-systemd-resolved.c +++ b/src/core/dns/nm-dns-systemd-resolved.c @@ -468,7 +468,7 @@ send_updates(NMDnsSystemdResolved *self) priv->send_updates_waiting = FALSE; - _LOGT("send-updates: start %lu requests", c_list_length(&priv->request_queue_lst_head)); + _LOGT("send-updates: start %zu requests", c_list_length(&priv->request_queue_lst_head)); c_list_for_each_entry (request_item, &priv->request_queue_lst_head, request_queue_lst) { gs_free char *ss = NULL;