aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-04-12 22:14:34 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-04-12 22:15:48 +0200
commit67ab66541dc1164540abda284645e38be90b5119 (patch)
treeb38de54a8e223ba42d56189a3bc9bcc8ef3d4320 /nss
parent2fe48f52833cf698374a9e607e447edec892e5c9 (diff)
downloadglibc-67ab66541dc1164540abda284645e38be90b5119.zip
glibc-67ab66541dc1164540abda284645e38be90b5119.tar.gz
glibc-67ab66541dc1164540abda284645e38be90b5119.tar.bz2
hurd: Fix arbitrary error code
ELIBBAD is Linux-specific.
Diffstat (limited to 'nss')
-rw-r--r--nss/nss_test_errno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/nss_test_errno.c b/nss/nss_test_errno.c
index 680f8a0..59a5c71 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. */