summaryrefslogtreecommitdiffstats
path: root/xlators/features/cloudsync/src/cloudsync.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/cloudsync/src/cloudsync.c')
-rw-r--r--xlators/features/cloudsync/src/cloudsync.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/features/cloudsync/src/cloudsync.c b/xlators/features/cloudsync/src/cloudsync.c
index 00437aaf80c..cb2cefa4d01 100644
--- a/xlators/features/cloudsync/src/cloudsync.c
+++ b/xlators/features/cloudsync/src/cloudsync.c
@@ -915,8 +915,7 @@ cs_download_task(void *arg)
local->remotepath);
/*using dlfd as it is anonymous and have RDWR flag*/
- ret = syncop_ftruncate(FIRST_CHILD(this), local->dlfd, 0, NULL, NULL,
- NULL, NULL);
+ ret = syncop_ftruncate(FIRST_CHILD(this), local->dlfd, 0, NULL, NULL);
if (ret) {
gf_msg(this->name, GF_LOG_ERROR, 0, -ret, "ftruncate failed");
} else {