Fix printf format specifier and formatting issues in use of log fns

Almost all related to and (less likely) possible causes of issue #236.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2022-04-14 00:26:14 +02:00
1 parent 6d58c9ed0b
commit a0820c7f20
3 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
/* Netlink plugin for IFUP/IFDN and GW events
*
* Copyright (C) 2009-2011 Mårten Wikström <marten.wikstrom@keystream.se>
@@ -252,7 +253,7 @@ static int nl_parse(int sd)
return -1;
}
_d("recv %lld bytes", len);
_d("recv %zd bytes", len);
l = (size_t)len;
for (nh = (struct nlmsghdr *)nl_buf; NLMSG_OK(nh, l); nh = NLMSG_NEXT(nh, l)) {
struct nlmsgerr *nle;