Commit:     f5e5cb75539749960d7d35f8a7da29e2f4b96320
Parent:     dde1bc0e6f86183bc095d0774cd109f4edf66ea2
Author:     Patrick McHardy <[EMAIL PROTECTED]>
AuthorDate: Wed Jan 23 20:32:06 2008 -0800
Committer:  David S. Miller <[EMAIL PROTECTED]>
CommitDate: Mon Jan 28 15:11:14 2008 -0800

    [NET_SCHED]: sch_atm: fix format string warning
    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 <[EMAIL PROTECTED]>
    Signed-off-by: David S. Miller <[EMAIL PROTECTED]>
 net/sched/sch_atm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/net/sched/sch_atm.c b/net/sched/sch_atm.c
index eb01aae..e587391 100644
--- a/net/sched/sch_atm.c
+++ b/net/sched/sch_atm.c
@@ -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)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to