diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-01 20:48:44 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-01 20:48:44 +0000 |
commit | efbcadd8d898b552124be4ae1d253f0f845345d7 (patch) | |
tree | 4aa46453022a126c95dd7e6b2b6ee1a579cdf303 | |
parent | 496503369255da68a0975d86cf84d98b39586706 (diff) | |
download | busybox-w32-efbcadd8d898b552124be4ae1d253f0f845345d7.tar.gz busybox-w32-efbcadd8d898b552124be4ae1d253f0f845345d7.tar.bz2 busybox-w32-efbcadd8d898b552124be4ae1d253f0f845345d7.zip |
Selinux fix from Jan Kiszka.
git-svn-id: svn://busybox.net/trunk/busybox@14403 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r-- | coreutils/ls.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 489c29ad1..79a583a1c 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -203,10 +203,6 @@ static int list_single(struct dnode *); | |||
203 | 203 | ||
204 | static unsigned int all_fmt; | 204 | static unsigned int all_fmt; |
205 | 205 | ||
206 | #ifdef CONFIG_SELINUX | ||
207 | static int selinux_enabled= 0; | ||
208 | #endif | ||
209 | |||
210 | #ifdef CONFIG_FEATURE_AUTOWIDTH | 206 | #ifdef CONFIG_FEATURE_AUTOWIDTH |
211 | static int terminal_width = TERMINAL_WIDTH; | 207 | static int terminal_width = TERMINAL_WIDTH; |
212 | static unsigned short tabstops = COLUMN_GAP; | 208 | static unsigned short tabstops = COLUMN_GAP; |
@@ -746,7 +742,7 @@ static int list_single(struct dnode *dn) | |||
746 | case LIST_CONTEXT: | 742 | case LIST_CONTEXT: |
747 | { | 743 | { |
748 | char context[80]; | 744 | char context[80]; |
749 | int len; | 745 | int len = 0; |
750 | 746 | ||
751 | if (dn->sid) { | 747 | if (dn->sid) { |
752 | /* I assume sid initilized with NULL */ | 748 | /* I assume sid initilized with NULL */ |