1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:07:34 +00:00

LibC: Add definition for ENOTRECOVERABLE

This is used by the LLVM port.
This commit is contained in:
Daniel Bertalan 2021-11-18 22:51:36 +01:00 committed by Brian Gianforcaro
parent b1f6bfca7f
commit 4c0d868bb6
2 changed files with 3 additions and 0 deletions

View file

@ -155,6 +155,8 @@ enum ErrnoCode {
#define EDQUOT EDQUOT
EDQUOT,
#define EDIRINTOSELF EDIRINTOSELF
ENOTRECOVERABLE,
#define ENOTRECOVERABLE ENOTRECOVERABLE
EMAXERRNO,
#define EMAXERRNO EMAXERRNO
};

View file

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