git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1ff407
)
dsdb: Print strerror in addition to errno
author
Volker Lendecke
<vl@samba.org>
Thu, 14 Jun 2018 15:42:56 +0000
(17:42 +0200)
committer
Jeremy Allison
<jra@samba.org>
Thu, 10 Jan 2019 01:41:29 +0000
(
02:41
+0100)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source4/dsdb/dns/dns_update.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/dns/dns_update.c
b/source4/dsdb/dns/dns_update.c
index 20052f4e47ff88dd7974d0ab767b8cd24b7af753..b2b951c05614562b569b2e2671551ecbf6db2a11 100644
(file)
--- a/
source4/dsdb/dns/dns_update.c
+++ b/
source4/dsdb/dns/dns_update.c
@@
-327,8
+327,8
@@
static void dnsupdate_nameupdate_done(struct tevent_req *subreq)
TALLOC_FREE(subreq);
if (ret != 0) {
- D
EBUG(0,(__location__ ": Failed DNS update - with error code %d
\n",
-
sys_errno));
+ D
BG_ERR("Failed DNS update - with error code %d: %s
\n",
+
sys_errno, strerror(
sys_errno));
} else {
DEBUG(3,("Completed DNS update check OK\n"));
}