summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-03-11 23:02:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:17 -0500
commit0fcd3e1095a2964c8ff49ec4b35c1004f7cc581d (patch)
treecfbacc3709aa21d596b0c93725626655941fee97 /source3/rpcclient
parent3b6f14990aae363f8cc370af8b4a3f977d304516 (diff)
downloadsamba-0fcd3e1095a2964c8ff49ec4b35c1004f7cc581d.tar.gz
samba-0fcd3e1095a2964c8ff49ec4b35c1004f7cc581d.tar.bz2
samba-0fcd3e1095a2964c8ff49ec4b35c1004f7cc581d.zip
r14216: Fix Coverity bug # 8
(This used to be commit e4c9cba2f94043fe3c3e85e5640cfa6bd340b92f)
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 5e1f0c37dd..bee739f399 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -1291,7 +1291,7 @@ static NTSTATUS cmd_samr_query_dominfo(struct rpc_pipe_client *cli,
uint32 access_mask = MAXIMUM_ALLOWED_ACCESS;
SAM_UNK_CTR ctr;
- if (argc > 2) {
+ if (argc > 3) {
printf("Usage: %s [info level] [access mask]\n", argv[0]);
return NT_STATUS_OK;
}