diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 1998-07-07 17:32:47 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 1998-07-07 17:32:47 +0000 |
commit | e465416f9087f0d7bc917e967d5c1e686dcf8810 (patch) | |
tree | 5e785107725c44c4de139c541ce01ebbfd1ab09b /usr.sbin/mopd/otherOS | |
parent | 2ba349fef63513a69b4b549877027ebef91ee3ca (diff) |
fd_set is not a struct
Diffstat (limited to 'usr.sbin/mopd/otherOS')
-rw-r--r-- | usr.sbin/mopd/otherOS/loop.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/mopd/otherOS/loop.c b/usr.sbin/mopd/otherOS/loop.c index d23d6af0496..59e86a848be 100644 --- a/usr.sbin/mopd/otherOS/loop.c +++ b/usr.sbin/mopd/otherOS/loop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: loop.c,v 1.2 1996/09/21 19:12:44 maja Exp $ */ +/* $OpenBSD: loop.c,v 1.3 1998/07/07 17:32:44 art Exp $ */ /* * Copyright (c) 1993-95 Mats O Jansson. All rights reserved. @@ -30,7 +30,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: loop.c,v 1.2 1996/09/21 19:12:44 maja Exp $"; +static char rcsid[] = "$OpenBSD: loop.c,v 1.3 1998/07/07 17:32:44 art Exp $"; #endif #include "os.h" @@ -160,8 +160,8 @@ Loop() } while (1) { listeners = fds; - if (select(maxfd + 1, &listeners, (struct fd_set *) 0, - (struct fd_set *) 0, (struct timeval *) 0) < 0) { + if (select(maxfd + 1, &listeners, (fd_set *) 0, + (fd_set *) 0, (struct timeval *) 0) < 0) { fprintf(stderr, "select: %s"); exit(0); } |