werror: replace WERR_REG_IO_FAILURE with WERR_REGISTRY_IO_FAILED in source3/registry/
[amitay/samba.git] / source3 / registry / reg_api_regf.c
index 3bf8b1296fdf37091c5625e83525d13686fcb716..ea6371f452df55f2c6968083788c2682fb9bee43 100644 (file)
@@ -95,7 +95,7 @@ static WERROR reg_load_tree(REGF_FILE *regfile, const char *topkeypath,
            || !store_reg_keys(&registry_key, subkeys))
        {
                DEBUG(0,("reg_load_tree: Failed to load %s!\n", topkeypath));
-               result = WERR_REG_IO_FAILURE;
+               result = WERR_REGISTRY_IO_FAILED;
        }
 
        TALLOC_FREE(subkeys);