From b906243b62c832f24473de3ead7d7feef0e75e4b Mon Sep 17 00:00:00 2001 From: "net[shemminger]!shemminger" Date: Mon, 17 Jan 2005 23:28:16 +0000 Subject: Import patch iproute2.116 (Logical change 1.118) --- tc/f_u32.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tc/f_u32.c') diff --git a/tc/f_u32.c b/tc/f_u32.c index d661f52b..1d96d63f 100644 --- a/tc/f_u32.c +++ b/tc/f_u32.c @@ -1005,7 +1005,9 @@ static int u32_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __ } if (sel && show_stats && NULL != pf) - fprintf(f, " (rule hit %llu success %llu)",pf->rcnt,pf->rhit); + fprintf(f, " (rule hit %llu success %llu)", + (unsigned long long) pf->rcnt, + (unsigned long long) pf->rhit); if (tb[TCA_U32_MARK]) { struct tc_u32_mark *mark = RTA_DATA(tb[TCA_U32_MARK]); @@ -1028,7 +1030,8 @@ static int u32_print_opt(struct filter_util *qu, FILE *f, struct rtattr *opt, __ key->offmask ? "nexthdr+" : "", key->off); if (show_stats && NULL != pf) - fprintf(f, " (success %lld ) ",pf->kcnts[i]); + fprintf(f, " (success %lld ) ", + (unsigned long long) pf->kcnts[i]); } } -- cgit v1.2.3