diff options
Diffstat (limited to 'source/smbd/vfs-wrap.c')
-rw-r--r-- | source/smbd/vfs-wrap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/smbd/vfs-wrap.c b/source/smbd/vfs-wrap.c index b9c22ef1f98..a3dd7520236 100644 --- a/source/smbd/vfs-wrap.c +++ b/source/smbd/vfs-wrap.c @@ -297,3 +297,11 @@ int vfswrap_utime(char *path, struct utimbuf *times) result = utime(path, times); return result; } + +int vfswrap_ftruncate(int fd, SMB_OFF_T offset) +{ + int result; + + result = sys_ftruncate(fd, offset); + return result; +} |