From: Samuel Thibault Subject: [PATCH] [Mini-OS] Add ENOTSUP Date: Fri, 23 Nov 2007 16:31:15 +0000 Message-ID: <20071123163115.GA12037@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Add missing ENOTSUP by defining it to EOPNOTSUPP like in Linux. Signed-off-by: Samuel Thibault diff -r f2711b7eae95 -r 36bf1e737b87 extras/mini-os/include/errno.h --- a/extras/mini-os/include/errno.h Thu Nov 22 19:55:42 2007 +0000 +++ b/extras/mini-os/include/errno.h Fri Nov 23 13:21:02 2007 +0000 @@ -66,6 +66,7 @@ #define EPROTONOSUPPORT 93 /* Protocol not supported */ #define ESOCKTNOSUPPORT 94 /* Socket type not supported */ #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */ +#define ENOTSUP EOPNOTSUPP #define EPFNOSUPPORT 96 /* Protocol family not supported */ #define EAFNOSUPPORT 97 /* Address family not supported by protocol */ #define EADDRINUSE 98 /* Address already in use */