浏览代码

LibC: Add definition for EDQUOT

This is used by the libphysfs port.
Gunnar Beutner 4 年之前
父节点
当前提交
6afb6eb6a9
共有 2 个文件被更改,包括 3 次插入0 次删除
  1. 2 0
      Userland/Libraries/LibC/errno_numbers.h
  2. 1 0
      Userland/Libraries/LibC/string.cpp

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

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

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

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