aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
Diffstat (limited to 'security/smack')
-rw-r--r--security/smack/smack_lsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c
index 4215971434e6..430f97b9d04a 100644
--- a/security/smack/smack_lsm.c
+++ b/security/smack/smack_lsm.c
@@ -1242,7 +1242,7 @@ static void smack_set_catset(char *catset, struct netlbl_lsm_secattr *sap)
1242 int rc; 1242 int rc;
1243 int byte; 1243 int byte;
1244 1244
1245 if (catset == 0) 1245 if (!catset)
1246 return; 1246 return;
1247 1247
1248 sap->flags |= NETLBL_SECATTR_MLS_CAT; 1248 sap->flags |= NETLBL_SECATTR_MLS_CAT;