summaryrefslogtreecommitdiffstats
path: root/libglusterfs
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs')
-rw-r--r--libglusterfs/src/event.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libglusterfs/src/event.c b/libglusterfs/src/event.c
index 09ecce1599d..6aaa53499df 100644
--- a/libglusterfs/src/event.c
+++ b/libglusterfs/src/event.c
@@ -219,7 +219,7 @@ event_dispatch_destroy (struct event_pool *event_pool)
/* Make the write end of the pipe nonblocking */
flags = fcntl(fd[1], F_GETFL);
flags |= O_NONBLOCK;
- fcntl(fd[1], F_SETFL, flags);
+ ret = fcntl(fd[1], F_SETFL, flags);
if (ret < 0)
goto out;