From 7aef9c3fe01f7ebda8a76a4e849c61c21de8cac4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 23 Mar 2011 11:22:15 +1100 Subject: s3-config: say which config file we failed to open saves having to strace it to work that out --- source3/nmbd/nmbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nmbd') 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); } -- cgit