summaryrefslogtreecommitdiffstats
path: root/kscd/libwm/plat_sun.c
diff options
context:
space:
mode:
Diffstat (limited to 'kscd/libwm/plat_sun.c')
-rw-r--r--kscd/libwm/plat_sun.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kscd/libwm/plat_sun.c b/kscd/libwm/plat_sun.c
index 4e61d68f..8d09efee 100644
--- a/kscd/libwm/plat_sun.c
+++ b/kscd/libwm/plat_sun.c
@@ -111,7 +111,7 @@ sigthawinit( void )
struct sigaction sa;
sa.sa_handler = thawme;
- sigemptyset(&sa.sa_mask);
+ sigemptyset(&sa.sa_tqmask);
sa.sa_flags = 0;
sigaction(SIGTHAW, &sa, NULL);
@@ -400,7 +400,7 @@ gen_get_drive_status( struct wm_drive *d,
* Now install the no-op signal handler.
*/
new_sig.sa_handler = do_nothing;
- memset(&new_sig.sa_mask, 0, sizeof(new_sig.sa_mask));
+ memset(&new_sig.sa_tqmask, 0, sizeof(new_sig.sa_tqmask));
new_sig.sa_flags = 0;
if (sigaction(SIGALRM, &new_sig, &old_sig))
perror("sigaction");