libselinux: avcstat: Clean up redundant condition

dcb314 reported this via https://github.com/SELinuxProject/selinux/issues/20

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Stephen Smalley 2016-11-29 11:11:26 -05:00
parent cf8625be58
commit dd8d5671e2

View file

@ -203,7 +203,7 @@ int main(int argc, char **argv)
if (!parsed) if (!parsed)
die("unable to parse \'%s\': no data", avcstatfile); die("unable to parse \'%s\': no data", avcstatfile);
if (cumulative || (!cumulative && !i)) if (cumulative || !i)
printf("%10Lu %10Lu %10Lu %10Lu %10Lu %10Lu\n", printf("%10Lu %10Lu %10Lu %10Lu %10Lu %10Lu\n",
tot.lookups, tot.hits, tot.misses, tot.lookups, tot.hits, tot.misses,
tot.allocations, tot.reclaims, tot.frees); tot.allocations, tot.reclaims, tot.frees);