summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-05-28 18:16:04 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-05-28 18:16:04 +0000
commit7228dcdf555b9480828cd51f642fa198c63c3f54 (patch)
tree0b3caa8f74617e093836292011baafa4ee5c02b7 /usr.sbin
parent10b1037a7992339ee8ee3755852111d4ce7506b6 (diff)
Remove useless sigaddset()
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/lpr/common_source/displayq.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/lpr/common_source/displayq.c b/usr.sbin/lpr/common_source/displayq.c
index e19e7f3f9e2..67dea6390de 100644
--- a/usr.sbin/lpr/common_source/displayq.c
+++ b/usr.sbin/lpr/common_source/displayq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: displayq.c,v 1.16 2002/05/20 23:13:50 millert Exp $ */
+/* $OpenBSD: displayq.c,v 1.17 2002/05/28 18:16:03 millert Exp $ */
/* $NetBSD: displayq.c,v 1.21 2001/08/30 00:51:50 itojun Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static const char sccsid[] = "@(#)displayq.c 8.4 (Berkeley) 4/28/95";
#else
-static const char rcsid[] = "$OpenBSD: displayq.c,v 1.16 2002/05/20 23:13:50 millert Exp $";
+static const char rcsid[] = "$OpenBSD: displayq.c,v 1.17 2002/05/28 18:16:03 millert Exp $";
#endif
#endif /* not lint */
@@ -285,7 +285,6 @@ displayq(int format)
memset(&nsa, 0, sizeof(nsa));
nsa.sa_handler = alarmer;
sigemptyset(&nsa.sa_mask);
- sigaddset(&nsa.sa_mask, SIGALRM);
nsa.sa_flags = 0;
(void)sigaction(SIGALRM, &nsa, &osa);
alarm(wait_time);