summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/registry/reg_api_regf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/registry/reg_api_regf.c b/source3/registry/reg_api_regf.c
index d30877792ac..3bf8b1296fd 100644
--- a/source3/registry/reg_api_regf.c
+++ b/source3/registry/reg_api_regf.c
@@ -184,7 +184,7 @@ static WERROR reg_write_tree(REGF_FILE *regfile, const char *keypath,
struct security_descriptor *sec_desc = NULL;
if (!regfile) {
- return WERR_GENERAL_FAILURE;
+ return WERR_GEN_FAILURE;
}
if (!keypath) {