errno: add EROFS
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
c4ec0bdf21
commit
fa34746870
2 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@
|
|||
#define ENOSYS 13
|
||||
#define ESYSCALLBLK 14
|
||||
#define ENAMETOOLONG 15
|
||||
#define EROFS 16
|
||||
|
||||
#ifndef __ASM__
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue