diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 7938b00ddc..54c6ddc5bd 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -621,8 +621,9 @@ static void usage(char *pname) TimeInit(); - if(!specified_logfile) - pstrcpy(debugf,SMBLOGFILE); + if(!specified_logfile) { + slprintf(debugf, sizeof(debugf), "%s/log.smbd", LOGFILEBASE); + } pstrcpy(remote_machine, "smb"); |