summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-11 23:07:22 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:17 -0500
commite6f82d5c3659c5dbe7b2b8dd8c668098e64d3502 (patch)
treebd6cf26b80418f0958902430dbdfa91e5ab34305 /source3/rpcclient
parent0fcd3e1095a2964c8ff49ec4b35c1004f7cc581d (diff)
downloadsamba-e6f82d5c3659c5dbe7b2b8dd8c668098e64d3502.tar.gz
samba-e6f82d5c3659c5dbe7b2b8dd8c668098e64d3502.tar.bz2
samba-e6f82d5c3659c5dbe7b2b8dd8c668098e64d3502.zip
r14217: Fix Coverity Bug # 7
(This used to be commit b3cfa292cf204a87acde073e2f800123ee474e40)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index bee739f399..e2f4a5ccc2 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -1163,7 +1163,7 @@ static NTSTATUS cmd_samr_query_dispinfo(struct rpc_pipe_client *cli,
int loop_count = 0;
BOOL got_params = False; /* Use get_query_dispinfo_params() or not? */
- if (argc > 5) {
+ if (argc > 6) {
printf("Usage: %s [info level] [start index] [max entries] [max size] [access mask]\n", argv[0]);
return NT_STATUS_OK;
}