summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-08-20 02:54:09 +0000
committerrwatson <rwatson@FreeBSD.org>2002-08-20 02:54:09 +0000
commitf0810dcb7514a5346e8516e7f73d049a9efe37e8 (patch)
tree85abf336fa5df6e4bceb0d519ef0b279380fd70d /sys/security
parentd4026d9db720dfcc6a6953d7aaaf3e7897353536 (diff)
downloadFreeBSD-src-f0810dcb7514a5346e8516e7f73d049a9efe37e8.zip
FreeBSD-src-f0810dcb7514a5346e8516e7f73d049a9efe37e8.tar.gz
Prefer NULL to 0 when passing a NULL pointer.
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac_none/mac_none.c2
-rw-r--r--sys/security/mac_stub/mac_stub.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac_none/mac_none.c b/sys/security/mac_none/mac_none.c
index 0813011..dcc829c 100644
--- a/sys/security/mac_none/mac_none.c
+++ b/sys/security/mac_none/mac_none.c
@@ -1171,4 +1171,4 @@ static struct mac_policy_op_entry mac_none_ops[] =
};
MAC_POLICY_SET(mac_none_ops, trustedbsd_mac_none, "TrustedBSD MAC/None",
- MPC_LOADTIME_FLAG_UNLOADOK, 0);
+ MPC_LOADTIME_FLAG_UNLOADOK, NULL);
diff --git a/sys/security/mac_stub/mac_stub.c b/sys/security/mac_stub/mac_stub.c
index 0813011..dcc829c 100644
--- a/sys/security/mac_stub/mac_stub.c
+++ b/sys/security/mac_stub/mac_stub.c
@@ -1171,4 +1171,4 @@ static struct mac_policy_op_entry mac_none_ops[] =
};
MAC_POLICY_SET(mac_none_ops, trustedbsd_mac_none, "TrustedBSD MAC/None",
- MPC_LOADTIME_FLAG_UNLOADOK, 0);
+ MPC_LOADTIME_FLAG_UNLOADOK, NULL);
OpenPOWER on IntegriCloud