Add ENXIO.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-12-20 22:48:14 +01:00
parent 517025f474
commit 27fda0c0eb
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@
#define ENAMETOOLONG 52
#define ELOOP 53
#define EMLINK 54
#define ENXIO 55
#define EOPNOTSUPP ENOTSUP

View File

@ -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";
}
}