summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-05-28 18:16:03 +0000
committermillert <millert@openbsd.org>2002-05-28 18:16:03 +0000
commit0cb510f40dc55112d842b1ec96c1b6a5da19d0c8 (patch)
tree7a6650f3bdd1eedfc97b9dbe9be2cb443266416f
parentdocument when the bridge will fragment ip packets.. (diff)
downloadwireguard-openbsd-0cb510f40dc55112d842b1ec96c1b6a5da19d0c8.tar.xz
wireguard-openbsd-0cb510f40dc55112d842b1ec96c1b6a5da19d0c8.zip
Remove useless sigaddset()
-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);