diff options
Diffstat (limited to 'util/main-loop.c')
-rw-r--r-- | util/main-loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/main-loop.c b/util/main-loop.c index b7b0ce4ca0..9afac10dff 100644 --- a/util/main-loop.c +++ b/util/main-loop.c @@ -114,7 +114,7 @@ static int qemu_signal_init(Error **errp) return -errno; } - fcntl_setfl(sigfd, O_NONBLOCK); + g_unix_set_fd_nonblocking(sigfd, true, NULL); qemu_set_fd_handler(sigfd, sigfd_handler, NULL, (void *)(intptr_t)sigfd); |