summaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/ss/policydb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/policydb.c b/security/selinux/ss/policydb.c
index bccc9acf6bc5..375e304070e1 100644
--- a/security/selinux/ss/policydb.c
+++ b/security/selinux/ss/policydb.c
@@ -2006,7 +2006,7 @@ static int genfs_read(struct policydb *p, void *fp)
2006 2006
2007 rc = next_entry(buf, fp, sizeof(u32)); 2007 rc = next_entry(buf, fp, sizeof(u32));
2008 if (rc) 2008 if (rc)
2009 goto out; 2009 return rc;
2010 nel = le32_to_cpu(buf[0]); 2010 nel = le32_to_cpu(buf[0]);
2011 2011
2012 for (i = 0; i < nel; i++) { 2012 for (i = 0; i < nel; i++) {