瀏覽代碼

[kernel] Fix ENOTSUP issue.

Bernard Xiong 6 年之前
父節點
當前提交
2d69172ad3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      include/libc/libc_errno.h

+ 1 - 1
include/libc/libc_errno.h

@@ -161,7 +161,7 @@ defined in armcc/errno.h
 #define EPROTONOSUPPORT (ERROR_BASE_NO + 93)
 #define ESOCKTNOSUPPORT (ERROR_BASE_NO + 94)
 #define EOPNOTSUPP      (ERROR_BASE_NO + 95)
-#define ENOTSUP         EOPNOTSUPP         )
+#define ENOTSUP         EOPNOTSUPP
 #define EPFNOSUPPORT    (ERROR_BASE_NO + 96)
 #define EAFNOSUPPORT    (ERROR_BASE_NO + 97)
 #define EADDRINUSE      (ERROR_BASE_NO + 98)