diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-16 21:11:09 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-16 21:11:09 +0000 |
| commit | 83cea0ef049d5aa50dfd431d5f8f6564cd93ce77 (patch) | |
| tree | 60d22f49fc9727ec1cd860a095357aa28fec2439 | |
| parent | 55f7912ddaea7c21068a48841a6eb933e5f286ee (diff) | |
| download | busybox-w32-83cea0ef049d5aa50dfd431d5f8f6564cd93ce77.tar.gz busybox-w32-83cea0ef049d5aa50dfd431d5f8f6564cd93ce77.tar.bz2 busybox-w32-83cea0ef049d5aa50dfd431d5f8f6564cd93ce77.zip | |
s/SELINIX/SELINUX/
| -rw-r--r-- | procps/ps.c | 6 |
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 | { |
