Browse Source

LibC: Add EPFNOSUPPORT error number

Not used anywhere in Serenity currently, but required for OpenSSH.
Luke 4 years ago
parent
commit
7334f21ef7
2 changed files with 3 additions and 1 deletions
  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 ENOTHREAD 70
 #define EPROTO 71
 #define EPROTO 71
 #define ENOTSUP 72
 #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",
     "No such thread",
     "Protocol error",
     "Protocol error",
     "Not supported",
     "Not supported",
+    "Protocol family not supported",
     "The highest errno +1 :^)",
     "The highest errno +1 :^)",
 };
 };