aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2007-03-16 15:34:52 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:26:17 -0400
commit514bca322cb9220308d22691ac1e74038bfabac3 (patch)
tree04f46e4fa9dcc6f8467888fcc9a161215700d4a4 /net/sched/sch_api.c
parentbb239acf5679ee1936f6b1b034ad260c4fec89c8 (diff)
[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 <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r--net/sched/sch_api.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 047ae62ff4fa..ecbdc6b42a9c 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)
1216{ 1216{
1217 seq_printf(seq, "%08x %08x %08x %08x\n", 1217 seq_printf(seq, "%08x %08x %08x %08x\n",
1218 (u32)NSEC_PER_USEC, (u32)PSCHED_US2NS(1), 1218 (u32)NSEC_PER_USEC, (u32)PSCHED_US2NS(1),
1219 1000000, (u32)NSEC_PER_SEC/ktime_to_ns(KTIME_MONOTONIC_RES)); 1219 1000000,
1220 (u32)NSEC_PER_SEC/(u32)ktime_to_ns(KTIME_MONOTONIC_RES));
1220 1221
1221 return 0; 1222 return 0;
1222} 1223}