From 4d3ec230b4319510826b2cccc0b957096d8a53fe Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 4 Dec 2001 21:30:52 +0000 Subject: Correct message on wbinfo fail to open config file. Jeremy. (This used to be commit 9b7182a9da24b53f3501f6562dc66bed67fb9133) --- source3/nsswitch/wbinfo.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit