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 | 118ba610b932e6e1ed84eed4174fb3e47e94dd1a (patch) | |
tree | a03a9be29e877d62bdadb15248087023dbbdd5c0 /source3/registry/reg_cachehook.c | |
parent | 0f87084f9c9c259db9bf19001221b8544951bb64 (diff) | |
download | samba-118ba610b932e6e1ed84eed4174fb3e47e94dd1a.tar.gz |
werror: replace WERR_INVALID_PARAM with WERR_INVALID_PARAMETER in source3/registry/
Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/registry/reg_cachehook.c')
-rw-r--r-- | source3/registry/reg_cachehook.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_cachehook.c b/source3/registry/reg_cachehook.c index de8ee05d0d7..95e77cc2a2c 100644 --- a/source3/registry/reg_cachehook.c +++ b/source3/registry/reg_cachehook.c @@ -37,7 +37,7 @@ static WERROR keyname_to_path(TALLOC_CTX *mem_ctx, const char *keyname, char *tmp_path = NULL; if ((keyname == NULL) || (path == NULL)) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } tmp_path = talloc_asprintf(mem_ctx, "\\%s", keyname); @@ -82,7 +82,7 @@ WERROR reghook_cache_add(const char *keyname, struct registry_ops *ops) char *key = NULL; if ((keyname == NULL) || (ops == NULL)) { - return WERR_INVALID_PARAM; + return WERR_INVALID_PARAMETER; } werr = keyname_to_path(talloc_tos(), keyname, &key); |