diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-11-01 13:20:19 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-11-01 13:20:19 +0000 |
commit | 6cab4d99451e8a6b1c22fbaff2633bf506eff5bd (patch) | |
tree | 01b19d7bde29ca902b53ec716d9619743e23cc59 /usr.sbin/ospfd | |
parent | 76d22b4fe112bae9dc2a5962c2f53290574fd178 (diff) |
Fix copy pasto, use SIGCHLD for the sigchild handler not SIGINT twice.
Spotted by janus <at> errornet.de
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r-- | usr.sbin/ospfd/ospfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/ospfd.c b/usr.sbin/ospfd/ospfd.c index 841892bb355..7af4b2515c4 100644 --- a/usr.sbin/ospfd/ospfd.c +++ b/usr.sbin/ospfd/ospfd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfd.c,v 1.35 2006/08/06 12:35:44 claudio Exp $ */ +/* $OpenBSD: ospfd.c,v 1.36 2006/11/01 13:20:18 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -221,7 +221,7 @@ main(int argc, char *argv[]) /* setup signal handler */ signal_set(&ev_sigint, SIGINT, main_sig_handler, NULL); signal_set(&ev_sigterm, SIGTERM, main_sig_handler, NULL); - signal_set(&ev_sigchld, SIGINT, main_sig_handler, NULL); + signal_set(&ev_sigchld, SIGCHLD, main_sig_handler, NULL); signal_set(&ev_sighup, SIGHUP, main_sig_handler, NULL); signal_add(&ev_sigint, NULL); signal_add(&ev_sigterm, NULL); |