summaryrefslogtreecommitdiff
path: root/libcli/security/privileges.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/security/privileges.c')
-rw-r--r--libcli/security/privileges.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/security/privileges.c b/libcli/security/privileges.c
index 2b241c91aa..b15a4ecc1a 100644
--- a/libcli/security/privileges.c
+++ b/libcli/security/privileges.c
@@ -368,7 +368,7 @@ enum sec_privilege sec_privilege_id(const char *name)
return privs[i].luid;
}
}
- return -1;
+ return SEC_PRIV_INVALID;
}
/*