summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2015-12-03 15:24:29 +0100
committerJeremy Allison <jra@samba.org>2016-09-28 00:04:24 +0200
commita2cacf1b49a396f57c99b79309097d6476a3e000 (patch)
tree5f4711b2bbb3afa68f77913a15046ce0fbd9b79a /source3/registry
parent846db3aad07bc8e74941e8b31927c5725452cc10 (diff)
downloadsamba-a2cacf1b49a396f57c99b79309097d6476a3e000.tar.gz
werror: replace WERR_OBJECT_PATH_INVALID with WERR_BAD_PATHNAME in source3/registry/reg_api_regf.c
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_api_regf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/registry/reg_api_regf.c b/source3/registry/reg_api_regf.c
index 16a3fada0f3..b83404c55e3 100644
--- a/source3/registry/reg_api_regf.c
+++ b/source3/registry/reg_api_regf.c
@@ -188,7 +188,7 @@ static WERROR reg_write_tree(REGF_FILE *regfile, const char *keypath,
}
if (!keypath) {
- return WERR_OBJECT_PATH_INVALID;
+ return WERR_BAD_PATHNAME;
}
/* split up the registry key path */
@@ -198,7 +198,7 @@ static WERROR reg_write_tree(REGF_FILE *regfile, const char *keypath,
return WERR_NOT_ENOUGH_MEMORY;
}
if (!reg_split_key(key_tmp, &parentpath, &keyname)) {
- return WERR_OBJECT_PATH_INVALID;
+ return WERR_BAD_PATHNAME;
}
if (!keyname) {