projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6bce97
)
ps: revert wrong "optimization": (i & 1) -> i
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 1 Jul 2007 17:25:59 +0000
(17:25 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sun, 1 Jul 2007 17:25:59 +0000
(17:25 -0000)
procps/ps.c
patch
|
blob
|
history
diff --git
a/procps/ps.c
b/procps/ps.c
index bbd546761b40adc066da22e6e398b66ea2504680..47e4c6111a74316ecca304fdb80038868719e341 100644
(file)
--- 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 */