summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-12-06 01:47:06 +0000
committerTim Potter <tpot@samba.org>2000-12-06 01:47:06 +0000
commit1f6fc3988d452c247a6375d05a924228d73cec66 (patch)
treefcde32ccac1b493375937533a702531ab9b25720
parentb881a55dfd8252d1114a0aa0cfd8ac09f2fbaf9e (diff)
downloadsamba-1f6fc3988d452c247a6375d05a924228d73cec66.tar.gz
samba-1f6fc3988d452c247a6375d05a924228d73cec66.tar.bz2
samba-1f6fc3988d452c247a6375d05a924228d73cec66.zip
Fixed compiler warning.
(This used to be commit 5e81151e53300a8c58adca09d02d0b075a13c322)
-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;
}