1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

werror: replace WERR_BADFILE with WERR_FILE_NOT_FOUND in source3/libgpo/gpo_reg.c

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2015-12-03 15:24:11 +01:00 committed by Jeremy Allison
parent 6748cdae00
commit 0fc0c6a24f

View File

@ -665,7 +665,7 @@ WERROR gp_reg_state_read(TALLOC_CTX *mem_ctx,
}
werr = gp_read_reg_subkey(mem_ctx, reg_ctx, subkeyname, &key);
if (W_ERROR_EQUAL(werr, WERR_BADFILE)) {
if (W_ERROR_EQUAL(werr, WERR_FILE_NOT_FOUND)) {
werr = WERR_OK;
break;
}