From: Denys Fedoryschenko Date: Sat, 14 Nov 2009 19:10:18 +0000 (+0200) Subject: one more fix, u32.c X-Git-Tag: libnl2_0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff76549013c31082d303b3feef755bbd35e13ec6;p=thirdparty%2Flibnl.git one more fix, u32.c One more segfault, also nl-tctree-list , fix Probably need reformat for better look Patch attached --- diff --git a/lib/route/cls/u32.c b/lib/route/cls/u32.c index 46d502b..80b8851 100644 --- a/lib/route/cls/u32.c +++ b/lib/route/cls/u32.c @@ -296,8 +296,7 @@ static void u32_dump_stats(struct rtnl_cls *cls, struct nl_dump_params *p) if (u->cu_mask & U32_ATTR_PCNT) { struct tc_u32_pcnt *pc = u->cu_pcnt->d_data; nl_dump(p, "\n"); - nl_dump_line(p, "%s successful hits\n"); - nl_dump_line(p, "%s %8llu %8llu\n", + nl_dump_line(p, " hit %8llu count %8llu\n", pc->rhit, pc->rcnt); } }