1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00

werror: replace WERR_GENERAL_FAILURE with WERR_GEN_FAILURE in source3/lib/netapi/

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:20 +01:00
committed by Jeremy Allison
parent 3e0b394536
commit 2324d9cd32
4 changed files with 7 additions and 7 deletions

View File

@ -77,7 +77,7 @@ NET_API_STATUS libnetapi_init(struct libnetapi_ctx **context)
if (!lp_load_global(get_dyn_CONFIGFILE())) {
TALLOC_FREE(frame);
fprintf(stderr, "error loading %s\n", get_dyn_CONFIGFILE() );
return W_ERROR_V(WERR_GENERAL_FAILURE);
return W_ERROR_V(WERR_GEN_FAILURE);
}
init_names();
@ -207,7 +207,7 @@ NET_API_STATUS libnetapi_set_debuglevel(struct libnetapi_ctx *ctx,
if (!lp_set_cmdline("log level", debuglevel)) {
TALLOC_FREE(frame);
return W_ERROR_V(WERR_GENERAL_FAILURE);
return W_ERROR_V(WERR_GEN_FAILURE);
}
TALLOC_FREE(frame);
return NET_API_STATUS_SUCCESS;