summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_lsa_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index 449b5c894f..663f6fec9f 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1452,7 +1452,7 @@ NTSTATUS _lsa_EnumPrivs(struct pipes_struct *p,
struct lsa_info *handle;
uint32 i;
uint32 enum_context = *r->in.resume_handle;
- int num_privs = count_all_privileges();
+ int num_privs = num_privileges_in_short_list();
struct lsa_PrivEntry *entries = NULL;
struct lsa_LUIDAttribute luid;