diff --git a/libc/decl/errno_values.h b/libc/decl/errno_values.h index 93f42be6..e1623bef 100644 --- a/libc/decl/errno_values.h +++ b/libc/decl/errno_values.h @@ -38,6 +38,7 @@ #define EINIT 46 #define ENODRV 47 #define E2BIG 48 +#define EFBIG 49 #define EOPNOTSUPP ENOTSUP diff --git a/libc/strerror.cpp b/libc/strerror.cpp index 77b79885..8e3d32f2 100644 --- a/libc/strerror.cpp +++ b/libc/strerror.cpp @@ -67,6 +67,7 @@ extern "C" const char* sortix_strerror(int errnum) case EINIT: return "Not initialized"; case ENODRV: return "No such driver"; case E2BIG: return "Argument list too long"; + case EFBIG: return "File too large"; default: return "Unknown error condition"; } }