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
1 changed files with 1 additions and 1 deletions

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