summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}