From: Patrik Flykt Date: Thu, 5 Apr 2012 12:32:50 +0000 (+0300) Subject: inet: Build failure fix X-Git-Tag: 0.80~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e1a6525ad5241f384eadcaa3670dd9836571be5;p=platform%2Fupstream%2Fconnman.git inet: Build failure fix "The format modifier for size_t is %zd." (Marcel, 20/12/2011) --- 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);