diff options
Diffstat (limited to 'source3/smbwrapper/shared.c')
-rw-r--r-- | source3/smbwrapper/shared.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/shared.c b/source3/smbwrapper/shared.c index 010c5ae19a..f7f7b8c8ea 100644 --- a/source3/smbwrapper/shared.c +++ b/source3/smbwrapper/shared.c @@ -37,7 +37,7 @@ void smbw_setup_shared(void) slprintf(s,sizeof(s)-1, "%s/smbw.XXXXXX",tmpdir()); - fstrcpy(name,(char *)mktemp(s)); + fstrcpy(name,(char *)smbd_mktemp(s)); /* note zero permissions! don't change this */ fd = sys_open(name,O_RDWR|O_CREAT|O_TRUNC|O_EXCL,0); |