From 47112c03e762971176f7df831aec01f104be271d Mon Sep 17 00:00:00 2001 From: jsg Date: Wed, 28 Oct 2009 16:38:43 +0000 Subject: Add compat errno mappings for the ENOTSUP errno addition. ok deraadt@ --- sys/compat/linux/linux_error.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/compat/linux/linux_error.c') 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) */ }; -- cgit v1.2.3-59-g8ed1b