diff options
author | Jeremy Allison <jra@samba.org> | 2001-04-08 20:22:39 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-04-08 20:22:39 +0000 |
commit | 94747b4639ed9b19f7d0fb896e43aa392a84989a (patch) | |
tree | 3c1c3b31502b008306c9e45c133e8add090674af /source/smbd/server.c | |
parent | d786191bc116c17a3f53a1c272d969942b7e5d25 (diff) | |
download | samba-94747b4639ed9b19f7d0fb896e43aa392a84989a.tar.gz samba-94747b4639ed9b19f7d0fb896e43aa392a84989a.tar.xz samba-94747b4639ed9b19f7d0fb896e43aa392a84989a.zip |
Got "medieval on our ass" about adding the -1 to slprintf.
Jeremy.
Diffstat (limited to 'source/smbd/server.c')
-rw-r--r-- | source/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c index baa1536248a..adf57b3f552 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -626,7 +626,7 @@ static void usage(char *pname) TimeInit(); if(!specified_logfile) { - slprintf(debugf, sizeof(debugf), "%s/log.smbd", LOGFILEBASE); + slprintf(debugf, sizeof(debugf)-1, "%s/log.smbd", LOGFILEBASE); } pstrcpy(remote_machine, "smbd"); |