diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-20 02:54:09 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-20 02:54:09 +0000 |
commit | f0810dcb7514a5346e8516e7f73d049a9efe37e8 (patch) | |
tree | 85abf336fa5df6e4bceb0d519ef0b279380fd70d /sys/security | |
parent | d4026d9db720dfcc6a6953d7aaaf3e7897353536 (diff) | |
download | FreeBSD-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.c | 2 | ||||
-rw-r--r-- | sys/security/mac_stub/mac_stub.c | 2 |
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); |