diff --git a/include/lib/errno.h b/include/lib/errno.h index 6517e2f..dfe07e2 100644 --- a/include/lib/errno.h +++ b/include/lib/errno.h @@ -18,6 +18,7 @@ #define ENOSYS 13 #define ESYSCALLBLK 14 #define ENAMETOOLONG 15 +#define EROFS 16 #ifndef __ASM__ diff --git a/lib/errno.c b/lib/errno.c index eee5421..2542ead 100644 --- a/lib/errno.c +++ b/lib/errno.c @@ -18,6 +18,7 @@ static const char *errno_str[] = { [EBUSY] = "Device or resource busy", [ENOSYS] = "Function not implemented", [ENAMETOOLONG] = "Name too long", + [EROFS] = "Read-only file system", }; const char *strerror(int errnum)