diff options
author | 2022-04-12 22:14:34 +0200 | |
---|---|---|
committer | 2022-04-18 19:28:40 +0200 | |
commit | 643038747659f27fa80964ee2c5761c07a9916aa (patch) | |
tree | 1f0005f92e6bc8da73e605a9c3f710125d7b28e2 | |
parent | nptl: Handle spurious EINTR when thread cancellation is disabled (BZ#29029) (diff) | |
download | glibc-643038747659f27fa80964ee2c5761c07a9916aa.tar.gz glibc-643038747659f27fa80964ee2c5761c07a9916aa.tar.bz2 glibc-643038747659f27fa80964ee2c5761c07a9916aa.zip |
hurd: Fix arbitrary error code
ELIBBAD is Linux-specific.
(cherry picked from commit 67ab66541dc1164540abda284645e38be90b5119)
(cherry picked from commit 5d8c7776343b3f1b96ef7777e4504378f23c041a)
-rw-r--r-- | nss/nss_test_errno.c | 2 |
1 files changed, 1 insertions, 1 deletions
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. */ |