summaryrefslogtreecommitdiffstats
path: root/sbin/nfsd/nfsd.c
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2016-06-07 01:29:38 +0000
committertedu <tedu@openbsd.org>2016-06-07 01:29:38 +0000
commit252fb110d292fd9dcb15c00b1d34dba43ce70757 (patch)
tree8f229692150b70f7fd783e08a41c7aca062d558d /sbin/nfsd/nfsd.c
parentSet BN_FLG_CONSTTIME on the correct variable. beck committed wrong fix. (diff)
downloadwireguard-openbsd-252fb110d292fd9dcb15c00b1d34dba43ce70757.tar.xz
wireguard-openbsd-252fb110d292fd9dcb15c00b1d34dba43ce70757.zip
per trending style, add continue to emtpy loop bodies.
ok mglocker
Diffstat (limited to 'sbin/nfsd/nfsd.c')
-rw-r--r--sbin/nfsd/nfsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/nfsd/nfsd.c b/sbin/nfsd/nfsd.c
index a20240e390a..057b5d583e8 100644
--- a/sbin/nfsd/nfsd.c
+++ b/sbin/nfsd/nfsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsd.c,v 1.35 2015/01/16 06:40:00 deraadt Exp $ */
+/* $OpenBSD: nfsd.c,v 1.36 2016/06/07 01:29:38 tedu Exp $ */
/* $NetBSD: nfsd.c,v 1.19 1996/02/18 23:18:56 mycroft Exp $ */
/*
@@ -342,6 +342,6 @@ reapchild(int signo)
int save_errno = errno;
while (wait3(NULL, WNOHANG, NULL) > 0)
- ;
+ continue;
errno = save_errno;
}