]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Fix arbitrary error code
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 12 Apr 2022 20:14:34 +0000 (22:14 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 18 Apr 2022 15:54:19 +0000 (17:54 +0200)
ELIBBAD is Linux-specific.

(cherry picked from commit 67ab66541dc1164540abda284645e38be90b5119)

nss/nss_test_errno.c

index 680f8a07b97fe2630b475a1c0e8dcf9f01b2ab80..59a5c717bebd296f0d280d2f7d3a92ac69003cbf 100644 (file)
@@ -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.  */