Add E2BIG.
This commit is contained in:
parent
09c4f34e66
commit
01ea5419cc
|
@ -37,6 +37,7 @@
|
||||||
#define EBOUND 45
|
#define EBOUND 45
|
||||||
#define EINIT 46
|
#define EINIT 46
|
||||||
#define ENODRV 47
|
#define ENODRV 47
|
||||||
|
#define E2BIG 48
|
||||||
|
|
||||||
#define EOPNOTSUPP ENOTSUP
|
#define EOPNOTSUPP ENOTSUP
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,8 @@ extern "C" const char* sortix_strerror(int errnum)
|
||||||
case EEOF: return "End of file";
|
case EEOF: return "End of file";
|
||||||
case EBOUND: return "Out of bounds";
|
case EBOUND: return "Out of bounds";
|
||||||
case EINIT: return "Not initialized";
|
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";
|
default: return "Unknown error condition";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue