libselinux: avcstat: Clean up redundant condition
PATCH 1/1 libselinux: avcstat: Clean up redundant condition
dcb314 reported this via https://github.com/SELinuxProject/selinux/issues/20
Signed-off-by Stephen Smalley <[email protected]>
--- libselinux/utils/avcstat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
libselinux/utils/avcstat.c +1 -1
@@ -203,7 +203,7 @@ int main(int argc, char **argv)if (!parsed)die ("unable to parse \'%s\': no data" , avcstatfile); -if (cumulative || (!cumulative && !i)) +if (cumulative || !i)printf ("%10Lu %10Lu %10Lu %10Lu %10Lu %10Lu\n" , tot.lookups, tot.hits, tot.misses, tot.allocations, tot.reclaims, tot.frees);
Signature · 1 line
2.7.4