1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-09 01:18:39 +03:00

Avoid a dmeventd compiler warning.

This commit is contained in:
Alasdair Kergon 2006-05-11 19:08:02 +00:00
parent c99d0236a0
commit bacfb913a0
2 changed files with 4 additions and 3 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.07 -
=============================
Avoid a dmeventd compiler warning.
Version 1.02.06 - 10 May 2006
=============================

View File

@ -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)