[NET_SCHED]: sch_atm: fix format string warning
authorPatrick McHardy <kaber@trash.net>
Thu, 24 Jan 2008 04:32:06 +0000 (20:32 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:11:14 +0000 (15:11 -0800)
Fix format string warning introduces by the netlink API conversion:

net/sched/sch_atm.c:250: warning: format '%lu' expects type 'long unsigned int', but argument 3 has type 'int'.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_atm.c

index eb01aae117dfb1b840580b94cbb874a5beb4840c..e587391537827dc7ee9d43f1743bcdc2daf16bee 100644 (file)
@@ -246,7 +246,7 @@ static int atm_tc_change(struct Qdisc *sch, u32 classid, u32 parent,
                if (!excess)
                        return -ENOENT;
        }
-       pr_debug("atm_tc_change: type %d, payload %lu, hdr_len %d\n",
+       pr_debug("atm_tc_change: type %d, payload %d, hdr_len %d\n",
                 opt->nla_type, nla_len(opt), hdr_len);
        sock = sockfd_lookup(fd, &error);
        if (!sock)