summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/dir.c b/source3/smbd/dir.c
index 6618bf07b0..b4a8f942c2 100644
--- a/source3/smbd/dir.c
+++ b/source3/smbd/dir.c
@@ -685,7 +685,7 @@ void dptr_DirCacheAdd(struct dptr_struct *dptr, const char *name, long offset)
****************************************************************************/
void dptr_init_search_op(struct dptr_struct *dptr)
{
- return SMB_VFS_INIT_SEARCH_OP(dptr->conn, dptr->dir_hnd->dir);
+ SMB_VFS_INIT_SEARCH_OP(dptr->conn, dptr->dir_hnd->dir);
}
/****************************************************************************