summaryrefslogtreecommitdiff
path: root/usr.sbin/faithd
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-10-16 05:27:34 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2003-10-16 05:27:34 +0000
commit576f03553fe047a58d4852ce6faa753dd4b43db3 (patch)
tree5cec2d0329665e63fe2ebcc6b6ffd7a48b058a91 /usr.sbin/faithd
parent427b718b0d90748d518598c9bebedad3d4c8edc7 (diff)
poll() arg mistake. Tatoku Ogaito
Diffstat (limited to 'usr.sbin/faithd')
-rw-r--r--usr.sbin/faithd/faithd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/faithd/faithd.c b/usr.sbin/faithd/faithd.c
index f5d60831eaf..f52c4bfaad2 100644
--- a/usr.sbin/faithd/faithd.c
+++ b/usr.sbin/faithd/faithd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: faithd.c,v 1.27 2003/09/02 23:35:24 itojun Exp $ */
+/* $OpenBSD: faithd.c,v 1.28 2003/10/16 05:27:33 itojun Exp $ */
/* $KAME: faithd.c,v 1.58 2002/09/08 01:12:30 itojun Exp $ */
/*
@@ -382,7 +382,7 @@ again:
}
#endif
- error = poll(pfd, maxfd, 0);
+ error = poll(pfd, maxfd, INFTIM);
if (error < 0) {
if (errno == EINTR)
goto again;