From: Samuel Thibault Date: Tue, 12 Apr 2022 20:14:34 +0000 (+0200) Subject: hurd: Fix arbitrary error code X-Git-Tag: glibc-2.36~383 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=67ab66541dc1164540abda284645e38be90b5119;p=thirdparty%2Fglibc.git hurd: Fix arbitrary error code ELIBBAD is Linux-specific. --- diff --git a/nss/nss_test_errno.c b/nss/nss_test_errno.c index 680f8a07b97..59a5c717beb 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. */