summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_srvsvc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c
index 09bb785665..e65124e3ee 100644
--- a/source3/rpcclient/cmd_srvsvc.c
+++ b/source3/rpcclient/cmd_srvsvc.c
@@ -338,7 +338,7 @@ static NTSTATUS cmd_srvsvc_net_file_enum(struct cli_state *cli,
ZERO_STRUCT(ctr);
result = cli_srvsvc_net_file_enum(
- cli, mem_ctx, 0, &ctr, preferred_len, &hnd);
+ cli, mem_ctx, info_level, &ctr, preferred_len, &hnd);
if (!W_ERROR_IS_OK(result))
goto done;