diff --git a/libgpo/gpext/gpext.c b/libgpo/gpext/gpext.c index 1320dadecfc..782c8217c03 100644 --- a/libgpo/gpext/gpext.c +++ b/libgpo/gpext/gpext.c @@ -434,14 +434,14 @@ static WERROR gp_extension_store_reg_entry(TALLOC_CTX *mem_ctx, const char *subkeyname = NULL; if (!gp_extension_reg_info_verify(entry)) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } subkeyname = GUID_string2(mem_ctx, &entry->guid); W_ERROR_HAVE_NO_MEMORY(subkeyname); if (!strupper_m(discard_const_p(char, subkeyname))) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } werr = gp_store_reg_subkey(mem_ctx,