diff options
-rw-r--r-- | libexec/identd/identd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libexec/identd/identd.c b/libexec/identd/identd.c index 7e061734836..3a0ea8ed9fd 100644 --- a/libexec/identd/identd.c +++ b/libexec/identd/identd.c @@ -1,5 +1,5 @@ /* -** $Id: identd.c,v 1.4 1997/07/23 20:36:27 kstailey Exp $ +** $Id: identd.c,v 1.5 1997/07/29 07:49:31 deraadt Exp $ ** ** identd.c A TCP/IP link identification protocol server ** @@ -178,10 +178,12 @@ child_handler() #else int status; #endif + int save_errno = errno; while (wait3(&status, WNOHANG, NULL) > 0) ; + errno = save_errno; #ifndef SIGRETURN_TYPE_IS_VOID return 0; #endif |