summaryrefslogtreecommitdiff
path: root/procps
diff options
context:
space:
mode:
authorDenis Vlasenko2008-07-16 21:11:09 +0000
committerDenis Vlasenko2008-07-16 21:11:09 +0000
commit83cea0ef049d5aa50dfd431d5f8f6564cd93ce77 (patch)
tree60d22f49fc9727ec1cd860a095357aa28fec2439 /procps
parent55f7912ddaea7c21068a48841a6eb933e5f286ee (diff)
downloadbusybox-83cea0ef049d5aa50dfd431d5f8f6564cd93ce77.zip
busybox-83cea0ef049d5aa50dfd431d5f8f6564cd93ce77.tar.gz
s/SELINIX/SELINUX/
Diffstat (limited to 'procps')
-rw-r--r--procps/ps.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/procps/ps.c b/procps/ps.c
index d7ea9fb..395cfcf 100644
--- a/procps/ps.c
+++ b/procps/ps.c
@@ -24,8 +24,8 @@ enum { MAX_WIDTH = 2*1024 };
#if ENABLE_SELINUX
-#define SELINIX_O_PREFIX "label,"
-#define DEFAULT_O_STR (SELINIX_O_PREFIX "pid,user" USE_FEATURE_PS_TIME(",time") ",args")
+#define SELINUX_O_PREFIX "label,"
+#define DEFAULT_O_STR (SELINUX_O_PREFIX "pid,user" USE_FEATURE_PS_TIME(",time") ",args")
#else
#define DEFAULT_O_STR ("pid,user" USE_FEATURE_PS_TIME(",time") ",args")
#endif
@@ -449,7 +449,7 @@ int ps_main(int argc UNUSED_PARAM, char **argv)
#if ENABLE_SELINUX
if (!(opt & 1) || !is_selinux_enabled()) {
/* no -Z or no SELinux: do not show LABEL */
- strcpy(default_o, DEFAULT_O_STR + sizeof(SELINIX_O_PREFIX)-1);
+ strcpy(default_o, DEFAULT_O_STR + sizeof(SELINUX_O_PREFIX)-1);
} else
#endif
{