summaryrefslogtreecommitdiff
path: root/src/coe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coe.c')
-rw-r--r--src/coe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coe.c b/src/coe.c
index 50b2397..26c7977 100644
--- a/src/coe.c
+++ b/src/coe.c
@@ -5,5 +5,5 @@
int coe(int fd)
{
- return fcntl(fd,F_SETFD,1);
+ return fcntl(fd,F_SETFD,FD_CLOEXEC);
}