summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/vfs-wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/vfs-wrap.c b/source3/smbd/vfs-wrap.c
index ff150b4e40..9007eb3b6d 100644
--- a/source3/smbd/vfs-wrap.c
+++ b/source3/smbd/vfs-wrap.c
@@ -467,10 +467,10 @@ int vfswrap_ftruncate(files_struct *fsp, int fd, SMB_OFF_T len)
if(vfs_ops->lseek(fsp, currpos, SEEK_SET) != currpos) {
goto done;
}
-#endif
-
done:
+#endif
+
END_PROFILE(syscall_ftruncate);
return result;
}