summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index c900e99af4..0f32787b12 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3889,7 +3889,7 @@ BOOL is_netbios_alias_or_name(const char *name)
void lp_set_logfile(const char *name)
{
extern pstring debugf;
- pstrcpy(Globals.szLogFile, name);
+ string_set(&Globals.szLogFile, name);
pstrcpy(debugf, name);
}