mirror of
https://github.com/samba-team/samba.git
synced 2025-07-29 15:42:04 +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:
committed by
Jeremy Allison
parent
3e0b394536
commit
2324d9cd32
@ -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;
|
||||
|
Reference in New Issue
Block a user