ecore: fix the parameter of strerror 26/88626/2
authorJaehwan Kim <jae.hwan.kim@samsung.com>
Tue, 20 Sep 2016 04:45:36 +0000 (13:45 +0900)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Wed, 28 Sep 2016 05:52:21 +0000 (22:52 -0700)
Change-Id: If8331eaa33eeed5975c12ad1a1bc41258ae09605

src/lib/ecore/ecore_main.c

index 8b5928c..d1df901 100644 (file)
@@ -1401,7 +1401,7 @@ ecore_main_fd_handler_active_set(Ecore_Fd_Handler      *fd_handler,
    ret = _ecore_main_fdh_poll_modify(fd_handler);
    if (ret < 0)
      {
-        ERR("Failed to mod epoll fd %d: %s!", fd_handler->fd, strerror(ret));
+        ERR("Failed to mod epoll fd %d: %s!", fd_handler->fd, strerror(errno));
      }
 unlock:
    _ecore_unlock();