projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f3973
)
Selinux fix from Jan Kiszka.
author
Rob Landley
<rob@landley.net>
Wed, 1 Mar 2006 20:48:44 +0000
(20:48 -0000)
committer
Rob Landley
<rob@landley.net>
Wed, 1 Mar 2006 20:48:44 +0000
(20:48 -0000)
coreutils/ls.c
patch
|
blob
|
history
diff --git
a/coreutils/ls.c
b/coreutils/ls.c
index 489c29ad1370489ad517d3272f87113d1b8167a5..79a583a1c0df4185d1a77aa6d6e929881d023233 100644
(file)
--- a/
coreutils/ls.c
+++ b/
coreutils/ls.c
@@
-203,10
+203,6
@@
static int list_single(struct dnode *);
static unsigned int all_fmt;
-#ifdef CONFIG_SELINUX
-static int selinux_enabled= 0;
-#endif
-
#ifdef CONFIG_FEATURE_AUTOWIDTH
static int terminal_width = TERMINAL_WIDTH;
static unsigned short tabstops = COLUMN_GAP;
@@
-746,7
+742,7
@@
static int list_single(struct dnode *dn)
case LIST_CONTEXT:
{
char context[80];
- int len;
+ int len
= 0
;
if (dn->sid) {
/* I assume sid initilized with NULL */