From: Denis Vlasenko Date: Sun, 1 Jul 2007 17:25:59 +0000 (-0000) Subject: ps: revert wrong "optimization": (i & 1) -> i X-Git-Tag: 1_7_0~164 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aba7f49a228e56f34e9f234794a21c3ca8ca1679;p=oweals%2Fbusybox.git ps: revert wrong "optimization": (i & 1) -> i --- diff --git a/procps/ps.c b/procps/ps.c index bbd546761..47e4c6111 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -368,7 +368,7 @@ int ps_main(int argc, char **argv) i = getopt32(argc, argv, "Z"); #endif #if ENABLE_SELINUX - if (i && is_selinux_enabled()) + if ((i & 1) && is_selinux_enabled()) use_selinux = PSSCAN_CONTEXT; #endif #endif /* ENABLE_FEATURE_PS_WIDE || ENABLE_SELINUX */