summaryrefslogtreecommitdiff
path: root/sbin/nfsiod/nfsiod.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/nfsiod/nfsiod.c')
-rw-r--r--sbin/nfsiod/nfsiod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/nfsiod/nfsiod.c b/sbin/nfsiod/nfsiod.c
index ee596a50641..f3d4d7bb692 100644
--- a/sbin/nfsiod/nfsiod.c
+++ b/sbin/nfsiod/nfsiod.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfsiod.c,v 1.4 1997/01/15 23:41:35 millert Exp $ */
+/* $OpenBSD: nfsiod.c,v 1.5 1997/08/04 19:25:22 deraadt Exp $ */
/* $NetBSD: nfsiod.c,v 1.12 1996/02/20 16:06:55 fvdl Exp $ */
/*
@@ -165,9 +165,11 @@ void
reapchild(signo)
int signo;
{
+ int save_errno = errno;
while (wait3(NULL, WNOHANG, NULL) > 0)
;
+ errno = save_errno;
}
void