summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_error.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2009-10-28 16:38:43 +0000
committerjsg <jsg@openbsd.org>2009-10-28 16:38:43 +0000
commit47112c03e762971176f7df831aec01f104be271d (patch)
tree0434ab23e49ece0f9c1a0575ebc9ff1a2d54f464 /sys/compat/linux/linux_error.c
parentAllow to set the rdomain in ssh/sftp/scp/sshd and ssh-keyscan. (diff)
downloadwireguard-openbsd-47112c03e762971176f7df831aec01f104be271d.tar.xz
wireguard-openbsd-47112c03e762971176f7df831aec01f104be271d.zip
Add compat errno mappings for the ENOTSUP errno addition.
ok deraadt@
Diffstat (limited to 'sys/compat/linux/linux_error.c')
-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) */
};