diff options
author | Denis Vlasenko | 2006-11-01 20:20:37 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-11-01 20:20:37 +0000 |
commit | dd539f76877000e333796da8f30ea760c080a69a (patch) | |
tree | 26f8642cd9e8cc1c2ca0b75a6b20801863b4e2cf /procps/ps.c | |
parent | 92258541449581302e180d05e827e27d35030a18 (diff) | |
download | busybox-dd539f76877000e333796da8f30ea760c080a69a.zip busybox-dd539f76877000e333796da8f30ea760c080a69a.tar.gz |
Unneeded code removed, usused field "unsigned pscpu" removed
Diffstat (limited to 'procps/ps.c')
-rw-r--r-- | procps/ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/ps.c b/procps/ps.c index da8c2a3..92608b1 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -25,7 +25,7 @@ int ps_main(int argc, char **argv) #if ENABLE_FEATURE_PS_WIDE || ENABLE_SELINUX #if ENABLE_FEATURE_PS_WIDE opt_complementary = "-:ww"; - USE_SELINUX(i =) getopt32(argc, argv, "w" USE_SELINUX("c"), &w_count); + USE_SELINUX(i =) getopt32(argc, argv, USE_SELINUX("c") "w", &w_count); /* if w is given once, GNU ps sets the width to 132, * if w is given more than once, it is "unlimited" */ @@ -40,7 +40,7 @@ int ps_main(int argc, char **argv) i = getopt32(argc, argv, "c"); #endif #if ENABLE_SELINUX - if ((i & (1+ENABLE_FEATURE_PS_WIDE)) && is_selinux_enabled()) + if ((i & 1) && is_selinux_enabled()) use_selinux = 1; #endif #endif /* ENABLE_FEATURE_PS_WIDE || ENABLE_SELINUX */ |