diff options
author | Günther Deschner <gd@samba.org> | 2008-03-11 04:52:46 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-03-11 04:52:46 +0100 |
commit | e45b6a595ce4573764d37edcda66ee33421a3ae2 (patch) | |
tree | f29c49984077bfedcf7560f4163ceec5ca667921 /source3 | |
parent | 1ebfc66b2c145289d1e1314e8415d9e3c6f405ae (diff) | |
download | samba-e45b6a595ce4573764d37edcda66ee33421a3ae2.tar.gz samba-e45b6a595ce4573764d37edcda66ee33421a3ae2.tar.bz2 samba-e45b6a595ce4573764d37edcda66ee33421a3ae2.zip |
Fix netdiskenum call in rpcclient.
Guenther
(This used to be commit dcbfdd1330cf1c7e8d1b4ebc051db139ed6a0053)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_srvsvc.c | 2 |
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; } |