Fix SELinux test

From-SVN: r162937
This commit is contained in:
Evan Phoenix 2010-08-06 05:40:15 +00:00 committed by Anthony Green
parent 4736718a4e
commit 07b6d9efd9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-07-10 Evan Phoenix <evan@fallingsnow.net>
* src/closures.c (selinux_enabled_check): Fix strncmp usage bug.
2010-07-07 Neil Roberts <neil@linux.intel.com>
* src/x86/sysv.S (ffi_call_SYSV): Align the stack pointer to

View File

@ -146,7 +146,7 @@ selinux_enabled_check (void)
p = strchr (p + 1, ' ');
if (p == NULL)
break;
if (strncmp (p + 1, "selinuxfs ", 10) != 0)
if (strncmp (p + 1, "selinuxfs ", 10) == 0)
{
free (buf);
fclose (f);