summaryrefslogtreecommitdiff
path: root/source3/nmbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nmbd')
-rw-r--r--source3/nmbd/nmbd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c
index b59a626fff..af78af756e 100644
--- a/source3/nmbd/nmbd.c
+++ b/source3/nmbd/nmbd.c
@@ -656,8 +656,7 @@ static void usage(char *pname)
TimeInit();
- pstrcpy( debugf, NMBLOGFILE );
-
+ slprintf(debugf, sizeof(debugf), "%s/log.nmbd", LOGFILEBASE);
setup_logging( argv[0], False );
charset_initialise();