# This is a BitKeeper generated diff -Nru style patch. # # ChangeSet # 2004/11/04 20:18:34+01:00 kaber@coreworks.de # [PKT_SCHED]: pedit: convert jiffie values to USER_HZ when dumping # # Signed-off-by: Patrick McHardy # # net/sched/pedit.c # 2004/11/04 20:18:27+01:00 kaber@coreworks.de +3 -3 # [PKT_SCHED]: pedit: convert jiffie values to USER_HZ when dumping # # Signed-off-by: Patrick McHardy # diff -Nru a/net/sched/pedit.c b/net/sched/pedit.c --- a/net/sched/pedit.c 2004-11-05 00:18:46 +01:00 +++ b/net/sched/pedit.c 2004-11-05 00:18:46 +01:00 @@ -244,9 +244,9 @@ #endif RTA_PUT(skb, TCA_PEDIT_PARMS, s, opt); - t.install = jiffies - p->tm.install; - t.lastuse = jiffies - p->tm.lastuse; - t.expires = p->tm.expires; + t.install = jiffies_to_clock_t(jiffies - p->tm.install); + t.lastuse = jiffies_to_clock_t(jiffies - p->tm.lastuse); + t.expires = jiffies_to_clock_t(p->tm.expires); RTA_PUT(skb, TCA_PEDIT_TM, sizeof (t), &t); return skb->len;