aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-01 20:48:44 +0000
committerRob Landley <rob@landley.net>2006-03-01 20:48:44 +0000
commit08abe64d9180d6d56c49900a2f89f3e9ff507201 (patch)
tree4aa46453022a126c95dd7e6b2b6ee1a579cdf303
parentb7f39732f8f20b88d1b5e90d84dd607205f7d79f (diff)
downloadbusybox-w32-08abe64d9180d6d56c49900a2f89f3e9ff507201.tar.gz
busybox-w32-08abe64d9180d6d56c49900a2f89f3e9ff507201.tar.bz2
busybox-w32-08abe64d9180d6d56c49900a2f89f3e9ff507201.zip
Selinux fix from Jan Kiszka.
-rw-r--r--coreutils/ls.c6
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
204static unsigned int all_fmt; 204static unsigned int all_fmt;
205 205
206#ifdef CONFIG_SELINUX
207static int selinux_enabled= 0;
208#endif
209
210#ifdef CONFIG_FEATURE_AUTOWIDTH 206#ifdef CONFIG_FEATURE_AUTOWIDTH
211static int terminal_width = TERMINAL_WIDTH; 207static int terminal_width = TERMINAL_WIDTH;
212static unsigned short tabstops = COLUMN_GAP; 208static 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 */