udev: Do not receive G_IO_ERR flag 60/152460/2
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:20 +0000 (07:43 +0000)
Change-Id: I83ab9c89594c1690c54baf7bf7147add012b41e3
Signed-off-by: pr.jung <pr.jung@samsung.com>
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");