hurd: Fix arbitrary error code

ELIBBAD is Linux-specific.
This commit is contained in:
Samuel Thibault 2022-04-12 22:14:34 +02:00
parent 2fe48f5283
commit 67ab66541d

View 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. */