]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix copy/paste error (SIGIO -> SIGPOLL)
authorDave Hart <hart@ntp.org>
Sat, 27 Aug 2011 07:07:45 +0000 (07:07 +0000)
committerDave Hart <hart@ntp.org>
Sat, 27 Aug 2011 07:07:45 +0000 (07:07 +0000)
bk: 4e5897c1BQ2HWNc8qyJDCDWBm-ZbZw

libntp/work_thread.c

index d020c12c264e25dea891af15e9802a6df2a221db..22f92e7141901f93ccd8971911156cf6e8d83ba6 100644 (file)
@@ -503,10 +503,10 @@ block_thread_signals(
 # ifdef HAVE_SIGNALED_IO
 #  ifdef SIGIO
        sigaddset(&block, SIGIO);
-#  endif       /* SIGIO */
-#  ifdef SIGIO
+#  endif
+#  ifdef SIGPOLL
        sigaddset(&block, SIGPOLL);
-#  endif       /* SIGIO */
+#  endif
 # endif        /* HAVE_SIGNALED_IO */
        sigaddset(&block, SIGALRM);
        sigaddset(&block, MOREDEBUGSIG);