summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-09-11 16:59:53 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-09-11 18:46:13 +1000
commitfdcadb5c3c2e3de1e2d1755653a9d02ccb548db8 (patch)
treebd168b52bbfac6a165f5f9e53fd2b19dfa74ae48
parent0eea8ecfe262e515011e7637c5a574f23923f169 (diff)
downloadsamba-fdcadb5c3c2e3de1e2d1755653a9d02ccb548db8.tar.gz
samba-fdcadb5c3c2e3de1e2d1755653a9d02ccb548db8.tar.bz2
samba-fdcadb5c3c2e3de1e2d1755653a9d02ccb548db8.zip
libcli/privileges Fix comment
-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 1fecf4011d..65000aa754 100644
--- a/libcli/security/privileges.c
+++ b/libcli/security/privileges.c
@@ -357,7 +357,7 @@ const char *sec_privilege_display_name(enum sec_privilege privilege, uint16_t *l
}
/*
- map a privilege name to a privilege id. Return -1 if not found
+ map a privilege name to a privilege id. Return SEC_PRIV_INVALID if not found
*/
enum sec_privilege sec_privilege_id(const char *name)
{