From 030db40f5b2cf4df54bcafa679ccf6dd3fd61b34 Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Sat, 20 Dec 2003 14:36:47 +0000 Subject: poll returns plain int... --- usr.sbin/bgpd/rde.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'usr.sbin') 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 @@ -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: -- cgit v1.2.3