summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-21 16:23:16 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2017-04-21 16:23:16 +0900
commitc6eacd6f2740bba74a48431bdf103b178cf05317 (patch)
tree5dae2b3dd750d28dea92b7e82b9199b67ae25d74 /src/lib/ecore
parent7282716820e37eaba61ccdc28208d09c525fecbe (diff)
efl_io_closer - fix warning about error print
lazy removal of fcntl without fixing up error print... fixed.
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/efl_io_closer_fd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/efl_io_closer_fd.c b/src/lib/ecore/efl_io_closer_fd.c
index cc5fcf9143..42724e0646 100644
--- a/src/lib/ecore/efl_io_closer_fd.c
+++ b/src/lib/ecore/efl_io_closer_fd.c
@@ -58,7 +58,7 @@ _efl_io_closer_fd_efl_io_closer_close_on_exec_set(Eo *o, Efl_Io_Closer_Fd_Data *
58 return EINA_FALSE; 58 return EINA_FALSE;
59 (void)o; 59 (void)o;
60#else 60#else
61 int flags, fd; 61 int fd;
62 Eina_Bool old = pd->close_on_exec; 62 Eina_Bool old = pd->close_on_exec;
63 63
64 pd->close_on_exec = close_on_exec; 64 pd->close_on_exec = close_on_exec;
@@ -71,7 +71,7 @@ _efl_io_closer_fd_efl_io_closer_close_on_exec_set(Eo *o, Efl_Io_Closer_Fd_Data *
71 71
72 if (!eina_file_close_on_exec(fd, close_on_exec)) 72 if (!eina_file_close_on_exec(fd, close_on_exec))
73 { 73 {
74 ERR("fcntl(%d, F_SETFD, %#x): %s", fd, flags, strerror(errno)); 74 ERR("eina_file_close_on_exec(%d) failed", fd);
75 pd->close_on_exec = old; 75 pd->close_on_exec = old;
76 return EINA_FALSE; 76 return EINA_FALSE;
77 } 77 }