aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--procps/ps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/ps.c b/procps/ps.c
index d7ea9fbbf..395cfcf56 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -24,8 +24,8 @@ enum { MAX_WIDTH = 2*1024 };
24 24
25 25
26#if ENABLE_SELINUX 26#if ENABLE_SELINUX
27#define SELINIX_O_PREFIX "label," 27#define SELINUX_O_PREFIX "label,"
28#define DEFAULT_O_STR (SELINIX_O_PREFIX "pid,user" USE_FEATURE_PS_TIME(",time") ",args") 28#define DEFAULT_O_STR (SELINUX_O_PREFIX "pid,user" USE_FEATURE_PS_TIME(",time") ",args")
29#else 29#else
30#define DEFAULT_O_STR ("pid,user" USE_FEATURE_PS_TIME(",time") ",args") 30#define DEFAULT_O_STR ("pid,user" USE_FEATURE_PS_TIME(",time") ",args")
31#endif 31#endif
@@ -449,7 +449,7 @@ int ps_main(int argc UNUSED_PARAM, char **argv)
449#if ENABLE_SELINUX 449#if ENABLE_SELINUX
450 if (!(opt & 1) || !is_selinux_enabled()) { 450 if (!(opt & 1) || !is_selinux_enabled()) {
451 /* no -Z or no SELinux: do not show LABEL */ 451 /* no -Z or no SELinux: do not show LABEL */
452 strcpy(default_o, DEFAULT_O_STR + sizeof(SELINIX_O_PREFIX)-1); 452 strcpy(default_o, DEFAULT_O_STR + sizeof(SELINUX_O_PREFIX)-1);
453 } else 453 } else
454#endif 454#endif
455 { 455 {