diff options
Diffstat (limited to 'source3/smbd/vfs-wrap.c')
-rw-r--r-- | source3/smbd/vfs-wrap.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/smbd/vfs-wrap.c b/source3/smbd/vfs-wrap.c index b9c22ef1f9..a3dd752023 100644 --- a/source3/smbd/vfs-wrap.c +++ b/source3/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; +} |