diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 6235d2455..071e5d8fd 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.07 - ============================= + Avoid a dmeventd compiler warning. Version 1.02.06 - 10 May 2006 ============================= diff --git a/daemons/dmeventd/dmeventd.c b/daemons/dmeventd/dmeventd.c index a02f35d5c..7b924186d 100644 --- a/daemons/dmeventd/dmeventd.c +++ b/daemons/dmeventd/dmeventd.c @@ -1213,14 +1213,14 @@ static void sig_alarm(int signum) /* Init thread signal handling. */ static void init_thread_signals(void) { - sigset_t sigset; + sigset_t my_sigset; struct sigaction act; memset(&act, 0, sizeof(act)); act.sa_handler = sig_alarm; sigaction(SIGALRM, &act, NULL); - sigfillset(&sigset); - pthread_sigmask(SIG_BLOCK, &sigset, NULL); + sigfillset(&my_sigset); + pthread_sigmask(SIG_BLOCK, &my_sigset, NULL); } static int daemonize(void)