summaryrefslogtreecommitdiff
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
commitf3a0da8c0ed3523e7020950b0416180ce7630461 (patch)
tree2d54d7794e76a9dd4a2d4b6c6e95c8a949c4f3c2
parent316cfee01c0040d1eca1e7ee18057fcc6f084baa (diff)
downloadsamba-f3a0da8c0ed3523e7020950b0416180ce7630461.tar.gz
samba-f3a0da8c0ed3523e7020950b0416180ce7630461.tar.bz2
samba-f3a0da8c0ed3523e7020950b0416180ce7630461.zip
Fixed compiler warning.
Jeremy. (This used to be commit e6a1a1e444631f0d674f33b5b8d1d71435de0511)
-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 3ecad48371..a9d8a32430 100644
--- a/source3/smbd/vfs-wrap.c
+++ b/source3/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)