diff options
Diffstat (limited to 'toolbox/ls.c')
-rw-r--r-- | toolbox/ls.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/toolbox/ls.c b/toolbox/ls.c index b7ba1b7..e530521 100644 --- a/toolbox/ls.c +++ b/toolbox/ls.c @@ -5,9 +5,7 @@ #include <dirent.h> #include <errno.h> -#ifdef HAVE_SELINUX #include <selinux/selinux.h> -#endif #include <sys/stat.h> #include <unistd.h> @@ -260,11 +258,7 @@ static int listfile_maclabel(const char *path, int flags) return -1; } -#ifdef HAVE_SELINUX lgetfilecon(path, &maclabel); -#else - maclabel = strdup("-"); -#endif if (!maclabel) { return -1; } |