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 a5eb69c41c..f6985cbc13 100644
--- a/source3/rpcclient/cmd_srvsvc.c
+++ b/source3/rpcclient/cmd_srvsvc.c
@@ -766,7 +766,7 @@ static WERROR cmd_srvsvc_net_disk_enum(struct rpc_pipe_client *cli,
uint32_t resume_handle = 0;
uint32_t level = 0;
- if (argc > 2) {
+ if (argc > 4) {
printf("Usage: %s [level] [resume_handle]\n", argv[0]);
return WERR_OK;
}