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.6 retrieving revision 1.7 diff -u -p -r1.6 -r1.7 --- src/lib/libc/resolv/herror.c 2007/03/30 20:23:04 1.6 +++ src/lib/libc/resolv/herror.c 2008/06/21 20:41:48 1.7 @@ -1,4 +1,4 @@ -/* $NetBSD: herror.c,v 1.6 2007/03/30 20:23:04 ghen Exp $ */ +/* $NetBSD: herror.c,v 1.7 2008/06/21 20:41:48 christos Exp $ */ /* * Copyright (c) 1987, 1993 @@ -53,9 +53,10 @@ #include #if defined(LIBC_SCCS) && !defined(lint) #ifdef notdef -static const char rcsid[] = "Id: herror.c,v 1.3.18.1 2005/04/27 05:01:09 sra Exp"; +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.6 2007/03/30 20:23:04 ghen Exp $"); +__RCSID("$NetBSD: herror.c,v 1.7 2008/06/21 20:41:48 christos Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -113,7 +114,7 @@ herror(const char *s) { v->iov_len = 2; v++; } - DE_CONST(hstrerror(h_errno), t); + DE_CONST(hstrerror(*__h_errno()), t); v->iov_base = t; v->iov_len = strlen(v->iov_base); v++;