From dcbfdd1330cf1c7e8d1b4ebc051db139ed6a0053 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=BCnther=20Deschner?= Date: Tue, 11 Mar 2008 04:52:46 +0100 Subject: [PATCH] Fix netdiskenum call in rpcclient. Guenther --- source/rpcclient/cmd_srvsvc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/rpcclient/cmd_srvsvc.c b/source/rpcclient/cmd_srvsvc.c index a5eb69c41c9..f6985cbc13c 100644 --- a/source/rpcclient/cmd_srvsvc.c +++ b/source/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; } -- 2.47.3