summaryrefslogtreecommitdiffstats
path: root/source/lib/debug.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-06-22 23:21:23 +0000
committerJeremy Allison <jra@samba.org>2001-06-22 23:21:23 +0000
commit7280d4c7cb43a6cfeb9e44c818950ae92966bd37 (patch)
tree155216f37995996e2fa86a27ddb93d67477812c9 /source/lib/debug.c
parent6e24a8693affe78ee514efe5b33b5a78587163d0 (diff)
downloadsamba-7280d4c7cb43a6cfeb9e44c818950ae92966bd37.tar.gz
samba-7280d4c7cb43a6cfeb9e44c818950ae92966bd37.tar.xz
samba-7280d4c7cb43a6cfeb9e44c818950ae92966bd37.zip
Fix for %m problem...
Jeremy
Diffstat (limited to 'source/lib/debug.c')
-rw-r--r--source/lib/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/lib/debug.c b/source/lib/debug.c
index 9ce5ee75e6d..ae129465eed 100644
--- a/source/lib/debug.c
+++ b/source/lib/debug.c
@@ -316,7 +316,7 @@ BOOL reopen_logs( void )
if (lp_loaded() && (*lp_logfile()))
pstrcpy(fname, lp_logfile());
- pstrcpy( debugf, fname );
+ alpha_strcpy( debugf, fname, sizeof(debugf)-1 );
if (append_log)
new_dbf = sys_fopen( debugf, "a" );
else