inet: Build failure fix
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 12:32:50 +0000 (15:32 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 12:37:06 +0000 (15:37 +0300)
"The format modifier for size_t is %zd." (Marcel, 20/12/2011)

src/inet.c

index 1fc636e..2896861 100644 (file)
@@ -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);