diff options
Diffstat (limited to 'usr.sbin/bgpd/bgpd.c')
-rw-r--r-- | usr.sbin/bgpd/bgpd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/bgpd.c b/usr.sbin/bgpd/bgpd.c index bd8f77b4911..3e52b00d7e3 100644 --- a/usr.sbin/bgpd/bgpd.c +++ b/usr.sbin/bgpd/bgpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpd.c,v 1.5 2003/12/20 18:50:40 henning Exp $ */ +/* $OpenBSD: bgpd.c,v 1.6 2003/12/20 19:17:51 deraadt Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -269,9 +269,9 @@ main(int argc, char *argv[]) if (rde_pid) kill(rde_pid, SIGTERM); - do { - i = waitpid(-1, NULL, WNOHANG); - } while (i > 0 || (i == -1 && errno == EINTR)); + do { + i = waitpid(-1, NULL, WNOHANG); + } while (i > 0 || (i == -1 && errno == EINTR)); logit(LOG_CRIT, "Terminating"); return (0); |