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 | 1f827a5cb4cec3f3ac593197fb6f342f01ed73cc (patch) | |
tree | 18676a3b2aa944e53f5a6142a286a3a7783403bc /source3/rpc_client | |
parent | 118ba610b932e6e1ed84eed4174fb3e47e94dd1a (diff) | |
download | samba-1f827a5cb4cec3f3ac593197fb6f342f01ed73cc.tar.gz |
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/rpc_client/
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/rpc_client')
-rw-r--r-- | source3/rpc_client/cli_winreg_int.c | 4 | ||||
-rw-r--r-- | source3/rpc_client/cli_winreg_spoolss.c | 4 | ||||
-rw-r--r-- | source3/rpc_client/cli_winreg_spoolss.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/source3/rpc_client/cli_winreg_int.c b/source3/rpc_client/cli_winreg_int.c index 3081f02e2b9..ac04460ae15 100644 --- a/source3/rpc_client/cli_winreg_int.c +++ b/source3/rpc_client/cli_winreg_int.c @@ -43,11 +43,11 @@ static WERROR _split_hive_key(TALLOC_CTX *mem_ctx, const char *tmp_subkeyname; if ((path == NULL) || (hivename == NULL) || (subkeyname == NULL)) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } if (strlen(path) == 0) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } if (strchr(path, '\\') == NULL) { diff --git a/source3/rpc_client/cli_winreg_spoolss.c b/source3/rpc_client/cli_winreg_spoolss.c index 10e7e47932b..5ec97e6a94c 100644 --- a/source3/rpc_client/cli_winreg_spoolss.c +++ b/source3/rpc_client/cli_winreg_spoolss.c @@ -1042,7 +1042,7 @@ WERROR winreg_update_printer(TALLOC_CTX *mem_ctx, } if (devmode->size != (ndr_size_spoolss_DeviceMode(devmode, 0) - devmode->__driverextra_length)) { - result = WERR_INVALID_PARAM; + result = WERR_INVALID_PARAMETER; goto done; } @@ -2952,7 +2952,7 @@ WERROR winreg_printer_setform1(TALLOC_CTX *mem_ctx, for (i = 0; i < num_builtin; i++) { if (strequal(builtin_forms1[i].form_name, form->form_name)) { - result = WERR_INVALID_PARAM; + result = WERR_INVALID_PARAMETER; goto done; } } diff --git a/source3/rpc_client/cli_winreg_spoolss.h b/source3/rpc_client/cli_winreg_spoolss.h index 4fcb64e55fd..6542fc94f1c 100644 --- a/source3/rpc_client/cli_winreg_spoolss.h +++ b/source3/rpc_client/cli_winreg_spoolss.h @@ -455,7 +455,7 @@ WERROR winreg_printer_enumforms1(TALLOC_CTX *mem_ctx, * @param[in] form_name The name of the form to delete. * * @return WERR_OK on success. - * WERR_INVALID_PARAM if the form is a builtin form. + * WERR_INVALID_PARAMETER if the form is a builtin form. * WERR_INVALID_FORM_NAME if the form or key doesn't exist. * A corresponding DOS error is something went wrong. */ @@ -478,7 +478,7 @@ WERROR winreg_printer_deleteform1(TALLOC_CTX *mem_ctx, * @param[in] form The FormInfo structure to save. * * @return WERR_OK on success. - * WERR_INVALID_PARAM if the form is a builtin form. + * WERR_INVALID_PARAMETER if the form is a builtin form. * A corresponding DOS error is something went wrong. */ WERROR winreg_printer_setform1(TALLOC_CTX *mem_ctx, |