mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Added ENODRV.
This commit is contained in:
parent
12326f2e34
commit
4dda38cab3
2 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,7 @@
|
|||
#define EEOF 44
|
||||
#define EBOUND 45
|
||||
#define EINIT 46
|
||||
#define ENODRV 47
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -96,6 +96,7 @@ extern "C" const char* sortix_strerror(int errnum)
|
|||
case EEOF: return "End of file";
|
||||
case EBOUND: return "Out of bounds";
|
||||
case EINIT: return "Not initialized";
|
||||
case ENODRV: return (char*) "No such driver";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue