Skip to contentSkip to conversation

Add ENOTSUP

PATCH New Samuel Thibault 1 participant 1 message Nov 23, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add ENOTSUP

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

extras/mini-os/include/errno.h +1 -0
diff -r f2711b7eae95 -r 36bf1e737b87 extras/mini-os/include/errno.h
@@ -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 */