Add ENXIO.
This commit is contained in:
parent
517025f474
commit
27fda0c0eb
|
@ -44,6 +44,7 @@
|
|||
#define ENAMETOOLONG 52
|
||||
#define ELOOP 53
|
||||
#define EMLINK 54
|
||||
#define ENXIO 55
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case ENAMETOOLONG: return "Filename too long";
|
||||
case ELOOP: return "Too many levels of symbolic links";
|
||||
case EMLINK: return "Too many links";
|
||||
case ENXIO: return "No such device or address";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue