summaryrefslogtreecommitdiffstats
path: root/lib/libshare/nfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libshare/nfs.c')
-rw-r--r--lib/libshare/nfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libshare/nfs.c b/lib/libshare/nfs.c
index abcc1025b..58b4c8880 100644
--- a/lib/libshare/nfs.c
+++ b/lib/libshare/nfs.c
@@ -675,7 +675,7 @@ nfs_check_exportfs(void)
unlink(nfs_exportfs_tempfile);
- fcntl(nfs_exportfs_temp_fd, F_SETFD, FD_CLOEXEC);
+ (void) fcntl(nfs_exportfs_temp_fd, F_SETFD, FD_CLOEXEC);
pid = fork();