summaryrefslogtreecommitdiff
path: root/source4/dns_server
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-05-29 09:45:44 +0200
committerKai Blin <kai@samba.org>2012-05-30 00:37:55 +0200
commit1171c562f6ba074413b730086c97787661ec9634 (patch)
treeddf3b0a3c80b0b008b85557429ccd435ec5a3a7e /source4/dns_server
parent0b2743c71e509d40a587e278a4227950205bf50c (diff)
downloadsamba-1171c562f6ba074413b730086c97787661ec9634.tar.gz
samba-1171c562f6ba074413b730086c97787661ec9634.tar.bz2
samba-1171c562f6ba074413b730086c97787661ec9634.zip
s4-dns: Add debug output for unmappable WERROR to DNS errcode
Signed-off-by: Kai Blin <kai@samba.org>
Diffstat (limited to 'source4/dns_server')
-rw-r--r--source4/dns_server/dns_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dns_server/dns_utils.c b/source4/dns_server/dns_utils.c
index b4f308c027..7d95bdd151 100644
--- a/source4/dns_server/dns_utils.c
+++ b/source4/dns_server/dns_utils.c
@@ -55,7 +55,7 @@ uint8_t werr_to_dns_err(WERROR werr)
} else if (W_ERROR_EQUAL(DNS_ERR(NOTZONE), werr)) {
return DNS_RCODE_NOTZONE;
}
- DEBUG(5, ("No mapping exists for %%s\n"));
+ DEBUG(5, ("No mapping exists for %s\n", win_errstr(werr)));
return DNS_RCODE_SERVFAIL;
}