浏览代码

LibC: Add EPFNOSUPPORT error number

Not used anywhere in Serenity currently, but required for OpenSSH.
Luke 4 年之前
父节点
当前提交
7334f21ef7
共有 2 个文件被更改,包括 3 次插入1 次删除
  1. 2 1
      Libraries/LibC/errno_numbers.h
  2. 1 0
      Libraries/LibC/string.cpp

+ 2 - 1
Libraries/LibC/errno_numbers.h

@@ -98,4 +98,5 @@
 #define ENOTHREAD 70
 #define EPROTO 71
 #define ENOTSUP 72
-#define EMAXERRNO 73
+#define EPFNOSUPPORT 73
+#define EMAXERRNO 74

+ 1 - 0
Libraries/LibC/string.cpp

@@ -363,6 +363,7 @@ const char* const sys_errlist[] = {
     "No such thread",
     "Protocol error",
     "Not supported",
+    "Protocol family not supported",
     "The highest errno +1 :^)",
 };