summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/wbinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c
index 11185624d1..4684af02e9 100644
--- a/source3/nsswitch/wbinfo.c
+++ b/source3/nsswitch/wbinfo.c
@@ -460,7 +460,8 @@ int main(int argc, char **argv)
}
if (!lp_load(dyn_CONFIGFILE, True, False, False)) {
- DEBUG(0, ("error opening config file\n"));
+ fprintf(stderr, "wbinfo: error opening config file %s. Error was %s\n",
+ dyn_CONFIGFILE, strerror(errno));
exit(1);
}