summaryrefslogtreecommitdiff
blob: eb432dc29c0ecc88891ab8cab089ba2995f044c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/nlrequest.c
+++ b/src/nlrequest.c
@@ -56,7 +56,7 @@
             int ret;
             
             if (!NLMSG_OK(p, bytes) || bytes < sizeof(struct nlmsghdr) || bytes < p->nlmsg_len) {
-                fprintf(stderr, "NETLINK: Packet too small or truncated! %u!=%u!=%u\n", bytes, sizeof(struct nlmsghdr), p->nlmsg_len);
+                fprintf(stderr, "NETLINK: Packet too small or truncated! %u!=%lu!=%u\n", bytes, sizeof(struct nlmsghdr), p->nlmsg_len);
                 return -1;
             }