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 */ /** 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" };
};