diff options
Diffstat (limited to 'net/sched/sch_gred.c')
-rw-r--r-- | net/sched/sch_gred.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_gred.c b/net/sched/sch_gred.c index e463b33ca..abf0bac91 100644 --- a/net/sched/sch_gred.c +++ b/net/sched/sch_gred.c @@ -512,7 +512,7 @@ static int gred_dump(struct Qdisc *sch, struct sk_buff *skb) opt=kmalloc(sizeof(struct tc_gred_qopt)*MAX_DPs, GFP_KERNEL); if (opt == NULL) { - DPRINTK("gred_dump:failed to malloc for %d\n", + DPRINTK("gred_dump:failed to malloc for %Zd\n", sizeof(struct tc_gred_qopt)*MAX_DPs); goto rtattr_failure; } |