diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-01 17:25:59 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-07-01 17:25:59 +0000 |
commit | aba7f49a228e56f34e9f234794a21c3ca8ca1679 (patch) | |
tree | 08d936fcc4e1dd058486aa688b9a2e85d67f4f92 /procps | |
parent | e6bce979bfcf19fc1171ed3c6d85a22e908f7312 (diff) |
ps: revert wrong "optimization": (i & 1) -> i
Diffstat (limited to 'procps')
-rw-r--r-- | procps/ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |