summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorSusant Palai <spalai@redhat.com>2018-10-04 16:40:08 +0530
committerAmar Tumballi <amarts@redhat.com>2018-10-05 00:09:06 +0000
commit2066466dadf658dcf7226267ada50faaa103b7f3 (patch)
treed7dbe39c3452c7fe20374054ba12ff7c946ff570 /xlators
parenta6128d64ec4c25eba002941ae68a9e9a72805704 (diff)
cloudsync: coverity fix
CID: 1394631 1394634 1394643 1394645 1394652 1394655 1394661 1394666 1394669 1394670 1394671 Issue: Argument cannot be negative Change-Id: Id4a9b1adcc271374971e788f161d91e8c9ac442f Updates: bz#789278 Signed-off-by: Susant Palai <spalai@redhat.com>
Diffstat (limited to 'xlators')
-rwxr-xr-xxlators/features/cloudsync/src/cloudsync-fops-c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/cloudsync/src/cloudsync-fops-c.py b/xlators/features/cloudsync/src/cloudsync-fops-c.py
index fdaa1432a6c..3122bd32c01 100755
--- a/xlators/features/cloudsync/src/cloudsync-fops-c.py
+++ b/xlators/features/cloudsync/src/cloudsync-fops-c.py
@@ -14,7 +14,7 @@ int32_t
cs_@NAME@ (call_frame_t *frame, xlator_t *this,
@LONG_ARGS@)
{
- int op_errno = -1;
+ int op_errno = EINVAL ;
cs_local_t *local = NULL;
int ret = 0;
cs_inode_ctx_t *ctx = NULL;