diff options
Diffstat (limited to 'resolv/herror.c')
-rw-r--r-- | resolv/herror.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/herror.c b/resolv/herror.c index e285224fea..b3df236bc9 100644 --- a/resolv/herror.c +++ b/resolv/herror.c @@ -80,14 +80,14 @@ herror(const char *s) { v->iov_base = (/*noconst*/ char *)s; v->iov_len = strlen(s); v++; - v->iov_base = ": "; + v->iov_base = (char *) ": "; v->iov_len = 2; v++; } v->iov_base = (char *)hstrerror(h_errno); v->iov_len = strlen(v->iov_base); v++; - v->iov_base = "\n"; + v->iov_base = (char *) "\n"; v->iov_len = 1; writev_not_cancel_no_status(STDERR_FILENO, iov, (v - iov) + 1); } |