mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
Selinux fix from Jan Kiszka.
This commit is contained in:
parent
b7f39732f8
commit
08abe64d91
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user