1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

r14216: Fix Coverity bug # 8

(This used to be commit e4c9cba2f94043fe3c3e85e5640cfa6bd340b92f)
This commit is contained in:
Volker Lendecke 2006-03-11 23:02:46 +00:00 committed by Gerald (Jerry) Carter
parent 3b6f14990a
commit 0fcd3e1095

View File

@ -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;
}