diff options
author | Jeremy Allison <jra@samba.org> | 2001-12-04 21:30:52 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-12-04 21:30:52 +0000 |
commit | 4d3ec230b4319510826b2cccc0b957096d8a53fe (patch) | |
tree | 7d363ec5bc438a3a51f31819e247da0382aba47c /source3/nsswitch | |
parent | 20fdf28178de4af6e99f006463f554dfd2841b36 (diff) | |
download | samba-4d3ec230b4319510826b2cccc0b957096d8a53fe.tar.gz samba-4d3ec230b4319510826b2cccc0b957096d8a53fe.tar.bz2 samba-4d3ec230b4319510826b2cccc0b957096d8a53fe.zip |
Correct message on wbinfo fail to open config file.
Jeremy.
(This used to be commit 9b7182a9da24b53f3501f6562dc66bed67fb9133)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/wbinfo.c | 3 |
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); } |