Przeglądaj źródła

LibC: Add definition for EDQUOT

This is used by the libphysfs port.
Gunnar Beutner 4 lat temu
rodzic
commit
6afb6eb6a9

+ 2 - 0
Userland/Libraries/LibC/errno_numbers.h

@@ -152,6 +152,8 @@ enum ErrnoCode {
     EPFNOSUPPORT,
 #define EPFNOSUPPORT EPFNOSUPPORT
     EDIRINTOSELF,
+#define EDQUOT EDQUOT
+    EDQUOT,
 #define EDIRINTOSELF EDIRINTOSELF
     EMAXERRNO,
 #define EMAXERRNO EMAXERRNO

+ 1 - 0
Userland/Libraries/LibC/string.cpp

@@ -348,6 +348,7 @@ const char* const sys_errlist[] = {
     "Not supported",
     "Protocol family not supported",
     "Cannot make directory a subdirectory of itself",
+    "Quota exceeded",
     "The highest errno +1 :^)",
 };