]> sourceware.org Git - dm.git/commitdiff
Avoid a dmeventd compiler warning.
authorAlasdair Kergon <agk@redhat.com>
Thu, 11 May 2006 19:08:02 +0000 (19:08 +0000)
committerAlasdair Kergon <agk@redhat.com>
Thu, 11 May 2006 19:08:02 +0000 (19:08 +0000)
WHATS_NEW
dmeventd/dmeventd.c

index 6235d2455ac7e10931d9500a02ad4cdd44e3f3d6..071e5d8fdbd07f3f3aec37806cc139660e63974a 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 1.02.07 - 
 =============================
+  Avoid a dmeventd compiler warning.
 
 Version 1.02.06 - 10 May 2006
 =============================
index a02f35d5c9ff46838707be1039af9ace04c789e8..7b924186de79e6b6aa7e385d17a5e2202d4dfa3b 100644 (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)
This page took 0.030026 seconds and 5 git commands to generate.