Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/resolv/herror.c,v rcsdiff: /ftp/cvs/cvsroot/src/lib/libc/resolv/herror.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.8 retrieving revision 1.9 diff -u -p -r1.8 -r1.9 --- src/lib/libc/resolv/herror.c 2009/04/12 17:07:17 1.8 +++ src/lib/libc/resolv/herror.c 2012/03/13 21:13:43 1.9 @@ -1,4 +1,4 @@ -/* $NetBSD: herror.c,v 1.8 2009/04/12 17:07:17 christos Exp $ */ +/* $NetBSD: herror.c,v 1.9 2012/03/13 21:13:43 christos Exp $ */ /* * Copyright (c) 1987, 1993 @@ -56,7 +56,7 @@ static const char sccsid[] = "@(#)herror.c 8.1 (Berkeley) 6/4/93"; static const char rcsid[] = "Id: herror.c,v 1.4 2005/04/27 04:56:41 sra Exp"; #else -__RCSID("$NetBSD: herror.c,v 1.8 2009/04/12 17:07:17 christos Exp $"); +__RCSID("$NetBSD: herror.c,v 1.9 2012/03/13 21:13:43 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -121,7 +121,7 @@ herror(const char *s) { DE_CONST("\n", t); v->iov_base = t; v->iov_len = 1; - writev(STDERR_FILENO, iov, (v - iov) + 1); + (void)writev(STDERR_FILENO, iov, (int)((v - iov) + 1)); } /*%