libcli/privileges Fix comment
authorAndrew Bartlett <abartlet@samba.org>
Sat, 11 Sep 2010 06:59:53 +0000 (16:59 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 11 Sep 2010 08:46:13 +0000 (18:46 +1000)
libcli/security/privileges.c

index 1fecf4011d3bfd67c455de89e43ef70583b38b4a..65000aa754033158bbf51c6bb9338e94e1ce933f 100644 (file)
@@ -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)
 {