diff options
author | 1996-10-06 04:13:12 +0000 | |
---|---|---|
committer | 1996-10-06 04:13:12 +0000 | |
commit | 7af3e1e5a5b5eb6997833775f7544b49cbfab4c7 (patch) | |
tree | 8d0efa68d6b526a819da256f45cb00be3f63a3df | |
parent | Store the fortune data files with fixed data types, and document this. (diff) | |
download | wireguard-openbsd-7af3e1e5a5b5eb6997833775f7544b49cbfab4c7.tar.xz wireguard-openbsd-7af3e1e5a5b5eb6997833775f7544b49cbfab4c7.zip |
fixing a portmap bug i introduced just before release makes me happy
-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; } |