diff options
-rw-r--r-- | usr.sbin/portmap/portmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/portmap/portmap.c b/usr.sbin/portmap/portmap.c index 461d6779d8a..a61a06b2def 100644 --- a/usr.sbin/portmap/portmap.c +++ b/usr.sbin/portmap/portmap.c @@ -40,7 +40,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)portmap.c 5.4 (Berkeley) 4/19/91";*/ -static char rcsid[] = "$Id: portmap.c,v 1.10 1996/07/31 11:09:15 deraadt Exp $"; +static char rcsid[] = "$Id: portmap.c,v 1.11 1996/10/06 04:13:12 deraadt Exp $"; #endif /* not lint */ /* @@ -627,7 +627,7 @@ reap() { int save_errno = errno; - while (wait3(NULL, WNOHANG, NULL) != -1) + while (wait3(NULL, WNOHANG, NULL) > 0) ; errno = save_errno; } |