diff --git a/security/smack/smack_lsm.c b/security/smack/smack_lsm.c index 4215971434e6bb9bc1b0b174428253be9ac1c660..430f97b9d04af73a3e27f8b8972f8ee2e7add531 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) int rc; int byte; - if (catset == 0) + if (!catset) return; sap->flags |= NETLBL_SECATTR_MLS_CAT;