[Xen-devel] [PATCH] [Mini-OS] Add ENOTSUP

Samuel Thibault
Fri, 23 Nov 2007 16:31:15 -0000

Add missing ENOTSUP by defining it to EOPNOTSUPP like in Linux.

Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>

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 */

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com