Pārlūkot izejas kodu

LibC: Add EPFNOSUPPORT error number

Not used anywhere in Serenity currently, but required for OpenSSH.
Luke 4 gadi atpakaļ
vecāks
revīzija
7334f21ef7
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  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 :^)",
 };