commit | aba7f49a228e56f34e9f234794a21c3ca8ca1679 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Sun Jul 01 17:25:59 2007 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Sun Jul 01 17:25:59 2007 +0000 |
tree | 08d936fcc4e1dd058486aa688b9a2e85d67f4f92 | |
parent | e6bce979bfcf19fc1171ed3c6d85a22e908f7312 [diff] |
ps: revert wrong "optimization": (i & 1) -> i
diff --git a/procps/ps.c b/procps/ps.c index bbd5467..47e4c61 100644 --- a/procps/ps.c +++ b/procps/ps.c
@@ -368,7 +368,7 @@ 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 */