summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorfsu <fsu@FreeBSD.org>2017-12-12 20:28:54 +0000
committerfsu <fsu@FreeBSD.org>2017-12-12 20:28:54 +0000
commita329238e9e44f1a63721c0bc72d8ad80557120b0 (patch)
tree8c7166e481a0159aca2499c165de413e121fbfb5 /lib
parent7a9542d994c4ba0de1ff257c63b2f802fd5f610f (diff)
downloadFreeBSD-src-a329238e9e44f1a63721c0bc72d8ad80557120b0.zip
FreeBSD-src-a329238e9e44f1a63721c0bc72d8ad80557120b0.tar.gz
MFC r326282, r326317:
Remap ENOATTR to ENODATA in the linuxulator. In the linux ENOADATA is frequently #defined as ENOATTR. The change is required for an xattrs support implementation. Sync bsd_to_linux_errno[] table with i386 and amd64 tables in the sys directory. Discussed with: netchild Requested by: jhb Approved by: pfg (mentor)
Diffstat (limited to 'lib')
-rw-r--r--lib/libsysdecode/errno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libsysdecode/errno.c b/lib/libsysdecode/errno.c
index 9f404e0..512b76d 100644
--- a/lib/libsysdecode/errno.c
+++ b/lib/libsysdecode/errno.c
@@ -53,7 +53,7 @@ static int bsd_to_linux_errno[ELAST + 1] = {
-100,-101,-102,-103,-104,-105,-106,-107,-108,-109,
-110,-111, -40, -36,-112,-113, -39, -11, -87,-122,
-116, -66, -6, -6, -6, -6, -6, -37, -38, -9,
- -6, -6, -43, -42, -75,-125, -84, -95, -16, -74,
+ -6, -6, -43, -42, -75,-125, -84, -61, -16, -74,
-72, -67, -71
};
#endif
OpenPOWER on IntegriCloud