aboutsummaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
Diffstat (limited to 'procps')
-rw-r--r--procps/ps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/procps/ps.c b/procps/ps.c
index c06d333cd..c1cb64397 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -298,7 +298,7 @@ int ps_main(int argc, char **argv)
298#if ENABLE_FEATURE_PS_WIDE || ENABLE_SELINUX 298#if ENABLE_FEATURE_PS_WIDE || ENABLE_SELINUX
299#if ENABLE_FEATURE_PS_WIDE 299#if ENABLE_FEATURE_PS_WIDE
300 opt_complementary = "-:ww"; 300 opt_complementary = "-:ww";
301 USE_SELINUX(i =) getopt32(argc, argv, USE_SELINUX("c") "w", &w_count); 301 USE_SELINUX(i =) getopt32(argc, argv, USE_SELINUX("Z") "w", &w_count);
302 /* if w is given once, GNU ps sets the width to 132, 302 /* if w is given once, GNU ps sets the width to 132,
303 * if w is given more than once, it is "unlimited" 303 * if w is given more than once, it is "unlimited"
304 */ 304 */
@@ -310,7 +310,7 @@ int ps_main(int argc, char **argv)
310 terminal_width--; 310 terminal_width--;
311 } 311 }
312#else /* only ENABLE_SELINUX */ 312#else /* only ENABLE_SELINUX */
313 i = getopt32(argc, argv, "c"); 313 i = getopt32(argc, argv, "Z");
314#endif 314#endif
315#if ENABLE_SELINUX 315#if ENABLE_SELINUX
316 if ((i & 1) && is_selinux_enabled()) 316 if ((i & 1) && is_selinux_enabled())