summaryrefslogtreecommitdiff
path: root/sys/compat/linux
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2009-10-28 16:38:44 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2009-10-28 16:38:44 +0000
commitcc105ae67622fa3604fd63976973cfe800bf75c1 (patch)
treed3872e0a6c59a2d8bad0e53b29850b3f0820fcc4 /sys/compat/linux
parent97f5b330f199201962e945af68b91e8b67d02716 (diff)
Add compat errno mappings for the ENOTSUP errno addition.
ok deraadt@
Diffstat (limited to 'sys/compat/linux')
-rw-r--r--sys/compat/linux/linux_error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_error.c b/sys/compat/linux/linux_error.c
index 1296b349fa5..707669b26d3 100644
--- a/sys/compat/linux/linux_error.c
+++ b/sys/compat/linux/linux_error.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: linux_error.c,v 1.4 2007/10/27 22:42:11 miod Exp $ */
+/* $OpenBSD: linux_error.c,v 1.5 2009/10/28 16:38:43 jsg Exp $ */
/* $NetBSD: linux_error.c,v 1.2 1995/04/22 19:48:32 christos Exp $ */
/*
@@ -126,5 +126,6 @@ int linux_error[1 + ELAST] = {
-LINUX_EOVERFLOW,
-LINUX_ENOSYS, /* not mapped (ECANCELED) */
-LINUX_EIDRM,
- -LINUX_ENOMSG
+ -LINUX_ENOMSG,
+ -LINUX_ENOSYS /* not mapped (ENOTSUP) */
};