From 1e1a6525ad5241f384eadcaa3670dd9836571be5 Mon Sep 17 00:00:00 2001 From: Patrik Flykt Date: Thu, 5 Apr 2012 15:32:50 +0300 Subject: [PATCH] inet: Build failure fix "The format modifier for size_t is %zd." (Marcel, 20/12/2011) --- src/inet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inet.c b/src/inet.c index 1fc636e..2896861 100644 --- a/src/inet.c +++ b/src/inet.c @@ -2151,7 +2151,7 @@ int __connman_inet_rtnl_addattr32(struct nlmsghdr *n, size_t maxlen, int type, struct rtattr *rta; if (NLMSG_ALIGN(n->nlmsg_len) + len > maxlen) { - DBG("Error! max allowed bound %d exceeded", maxlen); + DBG("Error! max allowed bound %zd exceeded", maxlen); return -1; } rta = NLMSG_TAIL(n); -- 2.7.4