projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe48f5
)
hurd: Fix arbitrary error code
author
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Tue, 12 Apr 2022 20:14:34 +0000
(22:14 +0200)
committer
Samuel 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
patch
|
blob
|
history
diff --git
a/nss/nss_test_errno.c
b/nss/nss_test_errno.c
index
680f8a0
..
59a5c71
100644
(file)
--- 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. */