public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] hurd: Fix arbitrary error code
@ 2022-04-12 20:16 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2022-04-12 20:16 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=67ab66541dc1164540abda284645e38be90b5119
commit 67ab66541dc1164540abda284645e38be90b5119
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Tue Apr 12 22:14:34 2022 +0200
hurd: Fix arbitrary error code
ELIBBAD is Linux-specific.
Diff:
---
nss/nss_test_errno.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nss/nss_test_errno.c b/nss/nss_test_errno.c
index 680f8a07b9..59a5c717be 100644
--- a/nss/nss_test_errno.c
+++ b/nss/nss_test_errno.c
@@ -28,7 +28,7 @@ static void __attribute__ ((constructor))
init (void)
{
/* An arbitrary error code which is otherwise not used. */
- errno = ELIBBAD;
+ errno = -1009;
}
/* Lookup functions for pwd follow that do not return any data. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-12 20:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-12 20:16 [glibc] hurd: Fix arbitrary error code Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).