diff options
author | Rob Landley <rob@landley.net> | 2006-03-01 20:48:44 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-03-01 20:48:44 +0000 |
commit | 08abe64d9180d6d56c49900a2f89f3e9ff507201 (patch) | |
tree | 4aa46453022a126c95dd7e6b2b6ee1a579cdf303 | |
parent | b7f39732f8f20b88d1b5e90d84dd607205f7d79f (diff) | |
download | busybox-w32-08abe64d9180d6d56c49900a2f89f3e9ff507201.tar.gz busybox-w32-08abe64d9180d6d56c49900a2f89f3e9ff507201.tar.bz2 busybox-w32-08abe64d9180d6d56c49900a2f89f3e9ff507201.zip |
Selinux fix from Jan Kiszka.
-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 */ |