Selinux fix from Jan Kiszka.

This commit is contained in:
Rob Landley 2006-03-01 20:48:44 +00:00
parent b7f39732f8
commit 08abe64d91

View File

@ -203,10 +203,6 @@ static int list_single(struct dnode *);
static unsigned int all_fmt; static unsigned int all_fmt;
#ifdef CONFIG_SELINUX
static int selinux_enabled= 0;
#endif
#ifdef CONFIG_FEATURE_AUTOWIDTH #ifdef CONFIG_FEATURE_AUTOWIDTH
static int terminal_width = TERMINAL_WIDTH; static int terminal_width = TERMINAL_WIDTH;
static unsigned short tabstops = COLUMN_GAP; static unsigned short tabstops = COLUMN_GAP;
@ -746,7 +742,7 @@ static int list_single(struct dnode *dn)
case LIST_CONTEXT: case LIST_CONTEXT:
{ {
char context[80]; char context[80];
int len; int len = 0;
if (dn->sid) { if (dn->sid) {
/* I assume sid initilized with NULL */ /* I assume sid initilized with NULL */