diff options
Diffstat (limited to 'source3/passdb/smbpass.c')
-rw-r--r-- | source3/passdb/smbpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index 7aad048339..bfb3946b1a 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -1106,7 +1106,7 @@ static BOOL del_smbfilepwd_entry(const char *name) FILE *fp_write = NULL; int pfile2_lockdepth = 0; - slprintf(pfile2, sizeof(pfile2)-1, "%s.%u", pfile, (unsigned)getpid() ); + slprintf(pfile2, sizeof(pfile2)-1, "%s.%u", pfile, (unsigned)sys_getpid() ); /* * Open the smbpassword file - for update. It needs to be update |