diff options
Diffstat (limited to 'resolv')
-rw-r--r-- | resolv/herror.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resolv/herror.c b/resolv/herror.c index 11a6a5ee69..a61a3a9a4d 100644 --- a/resolv/herror.c +++ b/resolv/herror.c @@ -62,6 +62,7 @@ static const char rcsid[] = "$BINDId: herror.c,v 8.11 1999/10/13 16:39:39 vixie #include <unistd.h> #include <libintl.h> +#include <not-cancel.h> const char *h_errlist[] = { N_("Resolver Error 0 (no error)"), @@ -94,7 +95,7 @@ herror(const char *s) { v++; v->iov_base = "\n"; v->iov_len = 1; - __writev(STDERR_FILENO, iov, (v - iov) + 1); + writev_not_cancel_no_status(STDERR_FILENO, iov, (v - iov) + 1); } /* |