summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnand Avati <avati@redhat.com>2014-05-18 11:40:27 -0700
committerPranith Kumar Karampuri <pkarampu@redhat.com>2014-05-24 23:21:01 -0700
commit9dce23c30edb3622049d40ea16877c7b26e5753b (patch)
treea64fcbf7b656a2d2da2daf2f13511489a8c6b98e
parentb7ae88b63fb6ea1abdb86669f2a786b94a6470b4 (diff)
meta: fix compile warning
Change-Id: Ic346458b0e7264469d617b8313d4087b4b21c4b8 BUG: 1089216 Signed-off-by: Anand Avati <avati@redhat.com> Reviewed-on: http://review.gluster.org/7789 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Harshavardhana <harsha@harshavardhana.net> Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com> Tested-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
-rw-r--r--xlators/meta/src/meta-defaults.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/meta/src/meta-defaults.c b/xlators/meta/src/meta-defaults.c
index 76244c7ee01..0f439c3ab4b 100644
--- a/xlators/meta/src/meta-defaults.c
+++ b/xlators/meta/src/meta-defaults.c
@@ -109,7 +109,7 @@ meta_default_writev (call_frame_t *frame, xlator_t *this, fd_t *fd,
ret = ops->file_write (this, fd, vector, count);
- META_STACK_UNWIND (writev, frame, (ret >= 0 ? : -1), (ret < 0 ? -ret : 0),
+ META_STACK_UNWIND (writev, frame, (ret >= 0 ? ret : -1), (ret < 0 ? -ret : 0),
&dummy, &dummy, xdata);
return 0;
err: