From: Patrick McHardy Date: Fri, 16 Mar 2007 19:34:52 +0000 (-0700) Subject: [NET_SCHED]: Fix warning X-Git-Tag: v2.6.22-rc1~1128^2~267 X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;h=514bca322cb9220308d22691ac1e74038bfabac3;p=powerpc.git [NET_SCHED]: Fix warning net/sched/sch_api.c: In function 'psched_show': net/sched/sch_api.c:1219: warning: format '%08x' expects type 'unsigned int', but argument 6 has type 's64' Signed-off-by: Patrick McHardy Signed-off-by: David S. Miller --- diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 047ae62ff4..ecbdc6b42a 100644 --- a/net/sched/sch_api.c +++ b/net/sched/sch_api.c @@ -1216,7 +1216,8 @@ static int psched_show(struct seq_file *seq, void *v) { seq_printf(seq, "%08x %08x %08x %08x\n", (u32)NSEC_PER_USEC, (u32)PSCHED_US2NS(1), - 1000000, (u32)NSEC_PER_SEC/ktime_to_ns(KTIME_MONOTONIC_RES)); + 1000000, + (u32)NSEC_PER_SEC/(u32)ktime_to_ns(KTIME_MONOTONIC_RES)); return 0; }