summaryrefslogtreecommitdiff
path: root/source3/passdb/smbpassgroup.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/smbpassgroup.c')
-rw-r--r--source3/passdb/smbpassgroup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/smbpassgroup.c b/source3/passdb/smbpassgroup.c
index 33b848cc76..056f198074 100644
--- a/source3/passdb/smbpassgroup.c
+++ b/source3/passdb/smbpassgroup.c
@@ -32,7 +32,7 @@ extern int DEBUGLEVEL;
static void *startsmbfilegrpent(BOOL update)
{
static char s_readbuf[1024];
- return startfilepwent(lp_smb_passgrp_file(), s_readbuf, sizeof(s_readbuf),
+ return startfileent(lp_smb_passgrp_file(), s_readbuf, sizeof(s_readbuf),
&grp_file_lock_depth, update);
}
@@ -42,7 +42,7 @@ static void *startsmbfilegrpent(BOOL update)
static void endsmbfilegrpent(void *vp)
{
- endfilepwent(vp, &grp_file_lock_depth);
+ endfileent(vp, &grp_file_lock_depth);
}
/*************************************************************************