mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
dsdb: Print strerror in addition to errno
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
f1ff407524
commit
78214d3ccb
@ -327,8 +327,8 @@ static void dnsupdate_nameupdate_done(struct tevent_req *subreq)
|
||||
TALLOC_FREE(subreq);
|
||||
|
||||
if (ret != 0) {
|
||||
DEBUG(0,(__location__ ": Failed DNS update - with error code %d\n",
|
||||
sys_errno));
|
||||
DBG_ERR("Failed DNS update - with error code %d: %s\n",
|
||||
sys_errno, strerror(sys_errno));
|
||||
} else {
|
||||
DEBUG(3,("Completed DNS update check OK\n"));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user