diff options
author | Günther Deschner <gd@samba.org> | 2015-12-03 15:24:24 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2016-09-28 00:04:22 +0200 |
commit | b4e433ea413101747a81269af434d5ae7f8ae9a2 (patch) | |
tree | 70440802bba6204c1643d1589fbe10a7dc67eb04 /source3/libgpo | |
parent | 9bde08f153ab94c28f3987e0bd6bccff6331ad6c (diff) | |
download | samba-b4e433ea413101747a81269af434d5ae7f8ae9a2.tar.gz |
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/libgpo/
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libgpo')
-rw-r--r-- | source3/libgpo/gpext/scripts.c | 2 | ||||
-rw-r--r-- | source3/libgpo/gpo_reg.c | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/source3/libgpo/gpext/scripts.c b/source3/libgpo/gpext/scripts.c index da6f5cc2640..12e17b1e0a8 100644 --- a/source3/libgpo/gpext/scripts.c +++ b/source3/libgpo/gpext/scripts.c @@ -233,7 +233,7 @@ static WERROR scripts_store_reg_gpovals(TALLOC_CTX *mem_ctx, WERROR werr; if (!key || !gpo) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } werr = gp_store_reg_val_sz(mem_ctx, key, "DisplayName", diff --git a/source3/libgpo/gpo_reg.c b/source3/libgpo/gpo_reg.c index e2000bce1c6..7f5fbc4fff1 100644 --- a/source3/libgpo/gpo_reg.c +++ b/source3/libgpo/gpo_reg.c @@ -66,7 +66,7 @@ WERROR gp_init_reg_ctx(TALLOC_CTX *mem_ctx, WERROR werr; if (!reg_ctx) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } werr = registry_init_basic(); @@ -151,7 +151,7 @@ WERROR gp_read_reg_subkey(TALLOC_CTX *mem_ctx, const char *tmp = NULL; if (!reg_ctx || !subkeyname || !key) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } tmp = talloc_asprintf(mem_ctx, "%s\\%s", reg_ctx->path, subkeyname); @@ -257,7 +257,7 @@ static WERROR gp_store_reg_gpovals(TALLOC_CTX *mem_ctx, WERROR werr; if (!key || !gpo) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } werr = gp_store_reg_val_dword(mem_ctx, key, "Version", @@ -562,7 +562,7 @@ static WERROR gp_read_reg_gpovals(TALLOC_CTX *mem_ctx, WERROR werr; if (!key || !gpo) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } werr = gp_read_reg_val_dword(mem_ctx, key, "Version", @@ -599,7 +599,7 @@ static WERROR gp_read_reg_gpo(TALLOC_CTX *mem_ctx, WERROR werr; if (!gpo_ret || !key) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } gpo = talloc_zero(mem_ctx, struct GROUP_POLICY_OBJECT); @@ -631,7 +631,7 @@ WERROR gp_reg_state_read(TALLOC_CTX *mem_ctx, const char *gp_state_path = NULL; if (!gpo_list) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } ZERO_STRUCTP(gpo_list); @@ -1032,7 +1032,7 @@ WERROR reg_apply_registry_entry(TALLOC_CTX *mem_ctx, return WERR_NOT_SUPPORTED; default: DEBUG(0,("invalid action: %d\n", entry->action)); - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } return werr; |