summaryrefslogtreecommitdiff
path: root/source3/registry
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2012-05-07 15:46:41 +0200
committerMichael Adam <obnox@samba.org>2012-06-26 19:57:18 +0200
commit619f0c07ffdf53854701bfa1798bd0d4ce9cfbf2 (patch)
treed91d7a840710ec0dffc2414a1faaf0053f9d8386 /source3/registry
parente10ea2b3cdfd32f810c6058446efb1392eb157ad (diff)
downloadsamba-619f0c07ffdf53854701bfa1798bd0d4ce9cfbf2.tar.gz
samba-619f0c07ffdf53854701bfa1798bd0d4ce9cfbf2.tar.bz2
samba-619f0c07ffdf53854701bfa1798bd0d4ce9cfbf2.zip
s3:registry: improve debug output in reg_parse
Signed-off-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'source3/registry')
-rw-r--r--source3/registry/reg_parse.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/registry/reg_parse.c b/source3/registry/reg_parse.c
index 5a22fd7998..babf5c015e 100644
--- a/source3/registry/reg_parse.c
+++ b/source3/registry/reg_parse.c
@@ -934,7 +934,8 @@ int reg_parse_file(const char* fname, const struct reg_parse_callback* cb,
fd = open(fname, O_RDONLY);
if (fd < 0) {
- DEBUG(0, ("reg_parse_file: open failed: %s\n", strerror(errno)));
+ DEBUG(0, ("reg_parse_file: open %s failed: %s\n", fname,
+ strerror(errno)));
return -1;
}