summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-12-08 19:59:22 +0000
committerJeremy Allison <jra@samba.org>2000-12-08 19:59:22 +0000
commite6a1a1e444631f0d674f33b5b8d1d71435de0511 (patch)
treef44671e464560a6c2e6497035a9b8c60c02d0d89
parentf4c32a75e6e60eae6078449478d04ff22373d817 (diff)
downloadsamba-e6a1a1e444631f0d674f33b5b8d1d71435de0511.tar.gz
samba-e6a1a1e444631f0d674f33b5b8d1d71435de0511.tar.xz
samba-e6a1a1e444631f0d674f33b5b8d1d71435de0511.zip
Fixed compiler warning.
Jeremy.
-rw-r--r--source/smbd/vfs-wrap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/vfs-wrap.c b/source/smbd/vfs-wrap.c
index 3ecad48371a..a9d8a32430e 100644
--- a/source/smbd/vfs-wrap.c
+++ b/source/smbd/vfs-wrap.c
@@ -470,10 +470,10 @@ int vfswrap_ftruncate(files_struct *fsp, int fd, SMB_OFF_T len)
}
done:
-#endif
-
END_PROFILE(syscall_ftruncate);
return result;
+#endif
+
}
BOOL vfswrap_lock(files_struct *fsp, int fd, int op, SMB_OFF_T offset, SMB_OFF_T count, int type)