1
0
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:
Volker Lendecke 2018-06-14 17:42:56 +02:00 committed by Jeremy Allison
parent f1ff407524
commit 78214d3ccb

View File

@ -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"));
}