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