summaryrefslogtreecommitdiffstats
path: root/source/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-07-17 20:42:59 +0000
committerJeremy Allison <jra@samba.org>2001-07-17 20:42:59 +0000
commitf591ca9f25c54d3cdd0b76df472411e44c95ea47 (patch)
tree723cd4de76205e3cf7a7d4bcc7c4a998b5fa0975 /source/smbd
parent8a2f6fbacd275acc7b356169f4022df4860a813e (diff)
downloadsamba-f591ca9f25c54d3cdd0b76df472411e44c95ea47.tar.gz
samba-f591ca9f25c54d3cdd0b76df472411e44c95ea47.tar.xz
samba-f591ca9f25c54d3cdd0b76df472411e44c95ea47.zip
Fixes from Jens-Uwe.Walther@force.de to make the -l option behave
consistently. Jeremy.
Diffstat (limited to 'source/smbd')
-rw-r--r--source/smbd/server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c
index 7947b9cbc05..6e9b9a48284 100644
--- a/source/smbd/server.c
+++ b/source/smbd/server.c
@@ -574,7 +574,7 @@ static void usage(char *pname)
case 'l':
specified_logfile = True;
- pstrcpy(debugf,optarg);
+ slprintf(debugf, sizeof(debugf)-1, "%s/log.smbd", optarg);
break;
case 'a':