summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-20 14:36:47 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-20 14:36:47 +0000
commit030db40f5b2cf4df54bcafa679ccf6dd3fd61b34 (patch)
treed60db20fa9e1c09980b6dc41951d142347a14701 /usr.sbin
parent8d2091aad42c6f6730b9d49e2043c0c6981938b9 (diff)
poll returns plain int...
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpd/rde.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/bgpd/rde.c b/usr.sbin/bgpd/rde.c
index 5ce9c519d44..e9b6388563a 100644
--- a/usr.sbin/bgpd/rde.c
+++ b/usr.sbin/bgpd/rde.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.c,v 1.9 2003/12/19 19:24:08 deraadt Exp $ */
+/* $OpenBSD: rde.c,v 1.10 2003/12/20 14:36:46 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -76,8 +76,7 @@ rde_main(struct bgpd_config *config, int pipe_m2r[2], int pipe_s2r[2])
pid_t pid;
struct passwd *pw;
struct pollfd pfd[2];
- size_t nfds;
- int n;
+ int n, nfds;
switch (pid = fork()) {
case -1: