1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

s3:dbwrap_watch: let dbwrap_watched_watch_state_destructor() use DBG_WARNING()

When we (need) to ignore an error from dbwrap_do_locked() within
dbwrap_watched_watch_state_destructor(), we better print this
with log level 1 instead of 10.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Stefan Metzmacher 2022-06-26 12:57:06 +00:00 committed by Ralph Boehme
parent 0d4cb5a641
commit e06413c2ba

View File

@ -1074,8 +1074,8 @@ static int dbwrap_watched_watch_state_destructor(
dbwrap_watched_watch_state_destructor_fn,
state);
if (!NT_STATUS_IS_OK(status)) {
DBG_DEBUG("dbwrap_do_locked failed: %s\n",
nt_errstr(status));
DBG_WARNING("dbwrap_do_locked failed: %s\n",
nt_errstr(status));
}
return 0;
}