summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/modules/onefs_dir.c')
-rw-r--r--source3/modules/onefs_dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/onefs_dir.c b/source3/modules/onefs_dir.c
index 77b34beeea..eb11b9725c 100644
--- a/source3/modules/onefs_dir.c
+++ b/source3/modules/onefs_dir.c
@@ -526,7 +526,7 @@ onefs_rewinddir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp)
if (!lp_parm_bool(SNUM(handle->conn), PARM_ONEFS_TYPE,
PARM_USE_READDIRPLUS, PARM_USE_READDIRPLUS_DEFAULT))
{
- return sys_rewinddir(dirp);
+ return rewinddir(dirp);
}
/* Retrieve state based off DIR handle */