summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/privileges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/privileges.c b/source3/lib/privileges.c
index 4bcf5e3b36..a3b85372c7 100644
--- a/source3/lib/privileges.c
+++ b/source3/lib/privileges.c
@@ -372,7 +372,7 @@ NTSTATUS dup_priv_set(PRIVILEGE_SET *new_priv_set, PRIVILEGE_SET *priv_set)
LUID_ATTR *old_set;
int i;
- if (!new_priv_set || !priv_set)
+ if (new_priv_set == NULL || priv_set == NULL)
return NT_STATUS_INVALID_PARAMETER;
/* special case if there are no privileges in the list */