mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-15 15:51:44 +00:00
Add EIO.
Kill errortab array; it can screw up alignment.
This commit is contained in:
parent
60a3f77711
commit
07ddaedd33
@ -53,8 +53,7 @@ const char * strerror ( int errno ) {
|
||||
}
|
||||
|
||||
/** The most common errors */
|
||||
struct errortab common_errortab[] __errortab = {
|
||||
{ ENOMEM, "Out of memory" },
|
||||
{ EINVAL, "Invalid argument" },
|
||||
{ ENOSPC, "No space left on device" },
|
||||
};
|
||||
struct errortab enoem __errortab = { ENOMEM, "Out of memory" };
|
||||
struct errortab einval __errortab = { EINVAL, "Invalid argument" };
|
||||
struct errortab enospc __errortab = { ENOSPC, "No space left on device" };
|
||||
struct errortab eio __errortab = { EIO, "Input/output error" };
|
||||
|
Loading…
Reference in New Issue
Block a user