diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-11-01 14:52:39 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2020-11-01 20:13:35 +0100 |
commit | 735c7836bfcc08f3ecd8cdaf1368665b8a241b94 (patch) | |
tree | a15bd33a975326f712cbf7f2ceaa6b4fab464862 | |
parent | 57009197f6cbd9d79c919bcd3150c41a0f57c9b3 (diff) |
dhcpv6: fix size_t fields in syslog format
Signed-off-by: Mikael Magnusson <mikma@users.sourceforge.net>
-rw-r--r-- | src/dhcpv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |