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>
Tue, 12 Apr 2022 20:15:48 +0000 (22:15 +0200)
ELIBBAD is Linux-specific.

nss/nss_test_errno.c

index 680f8a0..59a5c71 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.  */