udev: Do not receive G_IO_ERR flag 62/152462/1
authorpr.jung <pr.jung@samsung.com>
Tue, 26 Sep 2017 07:41:40 +0000 (16:41 +0900)
committerHyotaek Shim <hyotaek.shim@samsung.com>
Tue, 26 Sep 2017 07:43:42 +0000 (07:43 +0000)
Change-Id: I83ab9c89594c1690c54baf7bf7147add012b41e3
Signed-off-by: pr.jung <pr.jung@samsung.com>
(cherry picked from commit 49bf0ea30237315f833274e3580797c5ddc6b97d)

src/shared/fd_handler.c

index c95742e..3c9fc11 100644 (file)
@@ -110,7 +110,7 @@ int add_fd_read_handler(int fd,
                return -ENOMEM;
        }
 
-       id = g_io_add_watch(ch, G_IO_IN | G_IO_ERR,
+       id = g_io_add_watch(ch, G_IO_IN,
                        channel_changed, h);
        if (id == 0) {
                _E("Failed to add watch for GIOChannel");