From e6b7b2c21f3a72faa47ae1e5df552804fed0d9f7 Mon Sep 17 00:00:00 2001
From: Morris Jette <jette@schedmd.com>
Date: Tue, 8 Mar 2016 08:15:46 -0800
Subject: [PATCH] Handle function error for Coverity

---
 src/slurmd/slurmd/req.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/slurmd/slurmd/req.c b/src/slurmd/slurmd/req.c
index 656cdb5d0df..2a3024d0b3c 100644
--- a/src/slurmd/slurmd/req.c
+++ b/src/slurmd/slurmd/req.c
@@ -866,7 +866,7 @@ _forkexec_slurmstepd(uint16_t type, void *req,
 		 * is an arbitrary number based off test7.9.
 		 */
 		for (i=3; i<256; i++) {
-			fcntl(i, F_SETFD, FD_CLOEXEC);
+			(void) fcntl(i, F_SETFD, FD_CLOEXEC);
 		}
 
 		/*
-- 
GitLab