diff options
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r-- | source3/modules/vfs_default.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c index f5a64759be..35073143c0 100644 --- a/source3/modules/vfs_default.c +++ b/source3/modules/vfs_default.c @@ -634,7 +634,7 @@ static SMB_OFF_T vfswrap_lseek(vfs_handle_struct *handle, files_struct *fsp, SMB /* Cope with 'stat' file opens. */ if (fsp->fh->fd != -1) - result = sys_lseek(fsp->fh->fd, offset, whence); + result = lseek(fsp->fh->fd, offset, whence); /* * We want to maintain the fiction that we can seek |