summaryrefslogtreecommitdiff
path: root/source3/nmbd/nmbd.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-03-23 11:22:15 +1100
committerAndrew Tridgell <tridge@samba.org>2011-03-23 12:19:29 +1100
commit7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4 (patch)
treef59ffd7ecfce970f50bc01a52d101f17649a2aa3 /source3/nmbd/nmbd.c
parent6e8b6358ecc7dbebe9681d8e906f82993d0465df (diff)
downloadsamba-7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4.tar.gz
samba-7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4.tar.bz2
samba-7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4.zip
s3-config: say which config file we failed to open
saves having to strace it to work that out
Diffstat (limited to 'source3/nmbd/nmbd.c')
-rw-r--r--source3/nmbd/nmbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index 2aa896476f..9796815b27 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -851,7 +851,7 @@ static bool open_sockets(bool isdaemon, int port)
DEBUGADD(0,("%s\n", COPYRIGHT_STARTUP_MESSAGE));
if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
- DEBUG(0, ("error opening config file\n"));
+ DEBUG(0, ("error opening config file '%s'\n", get_dyn_CONFIGFILE()));
exit(1);
}