diff options
-rw-r--r-- | src/ck-vt-monitor.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ck-vt-monitor.c b/src/ck-vt-monitor.c index 17b8299..67a1f49 100644 --- a/src/ck-vt-monitor.c +++ b/src/ck-vt-monitor.c @@ -393,6 +393,8 @@ vt_add_watches (CkVtMonitor *vt_monitor) */ struct sigaction act; act.sa_handler = handle_vt_active; + sigemptyset (&act.sa_mask); + act.sa_flags = 0; sigaction (SIGPOLL, &act, NULL); ioctl (vt_monitor->priv->vfd, I_SETSIG, S_MSG); |