diff options
Diffstat (limited to 'source3/passdb/smbpass.c')
-rw-r--r-- | source3/passdb/smbpass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpass.c b/source3/passdb/smbpass.c index 464cec015c..e7adbe6d45 100644 --- a/source3/passdb/smbpass.c +++ b/source3/passdb/smbpass.c @@ -33,7 +33,7 @@ static char s_readbuf[1024]; static void *startsmbfilepwent(BOOL update) { - return startfilepwent(lp_smb_passwd_file(), s_readbuf, sizeof(s_readbuf), + return startfileent(lp_smb_passwd_file(), s_readbuf, sizeof(s_readbuf), &pw_file_lock_depth, update); } @@ -43,7 +43,7 @@ static void *startsmbfilepwent(BOOL update) static void endsmbfilepwent(void *vp) { - endfilepwent(vp, &pw_file_lock_depth); + endfileent(vp, &pw_file_lock_depth); } /************************************************************************* |