From 735c7836bfcc08f3ecd8cdaf1368665b8a241b94 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Sun, 1 Nov 2020 14:52:39 +0100 Subject: [PATCH] dhcpv6: fix size_t fields in syslog format Signed-off-by: Mikael Magnusson --- src/dhcpv6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dhcpv6.c b/src/dhcpv6.c index 00628cd..225f961 100644 --- a/src/dhcpv6.c +++ b/src/dhcpv6.c @@ -253,7 +253,7 @@ static int send_reply(_unused const void *buf, size_t len, struct dhcpv4_msg_data *reply = opaque; if (len > reply->maxsize) { - syslog(LOG_ERR, "4o6: reply too large, %u > %u", len, reply->maxsize); + syslog(LOG_ERR, "4o6: reply too large, %zu > %zu", len, reply->maxsize); reply->len = -1; } else { memcpy(reply->msg, buf, len); -- 2.30.2