david/ipxe
david
/
ipxe
Archived
1
0
Fork 0
Kill errortab array; it can screw up alignment.
This commit is contained in:
Michael Brown 2006-12-20 07:57:40 +00:00
parent 60a3f77711
commit 07ddaedd33
1 changed files with 4 additions and 5 deletions

View File

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