1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Add E2BIG.

This commit is contained in:
Jonas 'Sortie' Termansen 2012-09-07 20:25:10 +02:00
parent 09c4f34e66
commit 01ea5419cc
2 changed files with 3 additions and 1 deletions

View file

@ -37,6 +37,7 @@
#define EBOUND 45
#define EINIT 46
#define ENODRV 47
#define E2BIG 48
#define EOPNOTSUPP ENOTSUP

View file

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