From: Denis Vlasenko Date: Wed, 16 Jul 2008 21:11:09 +0000 (-0000) Subject: s/SELINIX/SELINUX/ X-Git-Tag: 1_12_0~172 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=83cea0ef049d5aa50dfd431d5f8f6564cd93ce77;p=oweals%2Fbusybox.git s/SELINIX/SELINUX/ --- 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 }; #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 {