summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-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 5c33f04693..f5fa836472 100644
--- a/libcli/security/privileges.c
+++ b/libcli/security/privileges.c
@@ -379,7 +379,7 @@ enum sec_privilege sec_privilege_from_index(int idx)
if (idx >= 0 && idx<ARRAY_SIZE(privs)) {
return privs[idx].luid;
}
- return -1;
+ return SEC_PRIV_INVALID;
}
/*