mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add E2BIG.
This commit is contained in:
parent
09c4f34e66
commit
01ea5419cc
2 changed files with 3 additions and 1 deletions
|
@ -37,6 +37,7 @@
|
|||
#define EBOUND 45
|
||||
#define EINIT 46
|
||||
#define ENODRV 47
|
||||
#define E2BIG 48
|
||||
|
||||
#define EOPNOTSUPP ENOTSUP
|
||||
|
||||
|
|
|
@ -93,7 +93,8 @@ 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";
|
||||
case ENODRV: return "No such driver";
|
||||
case E2BIG: return "Argument list too long";
|
||||
default: return "Unknown error condition";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue