diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2018-03-16 15:15:25 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2018-03-16 15:15:25 +0000 |
| commit | 06d481012612be7fbd3e9b4a979cc0513572e471 (patch) | |
| tree | d5065fb4e316901765ccbc5c21cf347c7300ef86 /lib/libsysdecode/errno.c | |
| parent | d595c5c0d603ff22c8a87329512a6bd68fc7dbeb (diff) | |
Notes
Diffstat (limited to 'lib/libsysdecode/errno.c')
| -rw-r--r-- | lib/libsysdecode/errno.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libsysdecode/errno.c b/lib/libsysdecode/errno.c index d50ea72d039f..efe98bcc9f92 100644 --- a/lib/libsysdecode/errno.c +++ b/lib/libsysdecode/errno.c @@ -41,8 +41,8 @@ __FBSDID("$FreeBSD$"); * Linux syscalls return negative errno's, we do positive and map them * Reference: * FreeBSD: src/sys/sys/errno.h - * Linux: linux-2.6.17.8/include/asm-generic/errno-base.h - * linux-2.6.17.8/include/asm-generic/errno.h + * Linux: include/uapi/asm-generic/errno-base.h + * include/uapi/asm-generic/errno.h */ static int bsd_to_linux_errno[ELAST + 1] = { -0, -1, -2, -3, -4, -5, -6, -7, -8, -9, @@ -54,7 +54,7 @@ static int bsd_to_linux_errno[ELAST + 1] = { -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, -61, -16, -74, - -72, -67, -71 + -72, -67, -71, -1, -1, -131, -130 }; #endif |
