summaryrefslogtreecommitdiff
path: root/src/lib/eet/eet_lib.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:35:48 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:35:48 +0900
commitb0adec349f085fe6b537ce69cd1b14d1f1277cc2 (patch)
tree636f489a3d18c8abc45a608ef21909b8b6599f10 /src/lib/eet/eet_lib.c
parentf8e036d5af3c99d74c3b0f4dcc612c4e0a949e00 (diff)
eet - handle fcntl error
fix CID 1039691
Diffstat (limited to 'src/lib/eet/eet_lib.c')
-rw-r--r--src/lib/eet/eet_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 6135b3541b..69d8bca670 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -363,7 +363,7 @@ eet_flush2(Eet_File *ef)
363 if (!fp) 363 if (!fp)
364 return EET_ERROR_NOT_WRITABLE; 364 return EET_ERROR_NOT_WRITABLE;
365 365
366 fcntl(fd, F_SETFD, FD_CLOEXEC); 366 if (fcntl(fd, F_SETFD, FD_CLOEXEC)) ERR("can't set CLOEXEC on write fd");
367 } 367 }
368 else 368 else
369 return EET_ERROR_NOT_WRITABLE; 369 return EET_ERROR_NOT_WRITABLE;