diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:25 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:22 +0200 |
commit | 6e0bf5bbda2195801e4e2036c8d962aa7b293827 (patch) | |
tree | 2eb39b3fab01e4698ca92a7f680684ac97a397ad /source3/rpcclient | |
parent | 402bafcbca479a0f0de9f18b41ea69d4fc149a8a (diff) | |
download | samba-6e0bf5bbda2195801e4e2036c8d962aa7b293827.tar.gz |
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/rpcclient/
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_spoolss.c | 10 | ||||
-rw-r--r-- | source3/rpcclient/cmd_srvsvc.c | 4 | ||||
-rw-r--r-- | source3/rpcclient/cmd_witness.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 6793bf1e0ab..b57f86ad073 100644 --- a/source3/rpcclient/cmd_spoolss.c +++ b/source3/rpcclient/cmd_spoolss.c @@ -1825,7 +1825,7 @@ static WERROR cmd_spoolss_addprinterdriver(struct rpc_pipe_client *cli, arch = cmd_spoolss_get_short_archi(argv[1]); if (!arch) { printf ("Error Unknown architecture [%s]\n", argv[1]); - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } set_drv_info_3_env(mem_ctx, &info3, arch); @@ -1834,7 +1834,7 @@ static WERROR cmd_spoolss_addprinterdriver(struct rpc_pipe_client *cli, if (!init_drv_info_3_members(mem_ctx, &info3, driver_args )) { printf ("Error Invalid parameter list - %s.\n", argv[2]); - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } /* if printer driver version specified, override the default version @@ -2267,7 +2267,7 @@ static WERROR cmd_spoolss_addform(struct rpc_pipe_client *cli, TALLOC_CTX *mem_c break; default: - werror = WERR_INVALID_PARAM; + werror = WERR_INVALID_PARAMETER; goto done; } @@ -2672,7 +2672,7 @@ static WERROR cmd_spoolss_setprinterdata(struct rpc_pipe_client *cli, if (type == REG_NONE) { printf("Unknown data type: %s\n", argv[2]); - result = WERR_INVALID_PARAM; + result = WERR_INVALID_PARAMETER; goto done; } @@ -2741,7 +2741,7 @@ static WERROR cmd_spoolss_setprinterdata(struct rpc_pipe_client *cli, } default: printf("Unknown data type: %s\n", argv[2]); - result = WERR_INVALID_PARAM; + result = WERR_INVALID_PARAMETER; goto done; } diff --git a/source3/rpcclient/cmd_srvsvc.c b/source3/rpcclient/cmd_srvsvc.c index 0174002ca8e..e7929e7259c 100644 --- a/source3/rpcclient/cmd_srvsvc.c +++ b/source3/rpcclient/cmd_srvsvc.c @@ -368,7 +368,7 @@ static WERROR cmd_srvsvc_net_share_enum_int(struct rpc_pipe_client *cli, &result); break; default: - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } if (!NT_STATUS_IS_OK(status)) { @@ -983,7 +983,7 @@ static WERROR cmd_srvsvc_net_conn_enum(struct rpc_pipe_client *cli, info_ctr.ctr.ctr1 = &ctr1; break; default: - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } status = dcerpc_srvsvc_NetConnEnum(b, mem_ctx, diff --git a/source3/rpcclient/cmd_witness.c b/source3/rpcclient/cmd_witness.c index 5d07dde812c..f5cac97066c 100644 --- a/source3/rpcclient/cmd_witness.c +++ b/source3/rpcclient/cmd_witness.c @@ -288,7 +288,7 @@ static WERROR cmd_witness_UnRegister(struct rpc_pipe_client *cli, } if (!read_context_handle(argv[1], &hnd)) { - result = WERR_INVALID_PARAM; + result = WERR_INVALID_PARAMETER; goto done; } @@ -388,7 +388,7 @@ static WERROR cmd_witness_AsyncNotify(struct rpc_pipe_client *cli, } if (!read_context_handle(argv[1], &hnd)) { - result = WERR_INVALID_PARAM; + result = WERR_INVALID_PARAMETER; goto done; } |