diff options
author | Michael Brown | 2006-12-20 08:57:40 +0100 |
---|---|---|
committer | Michael Brown | 2006-12-20 08:57:40 +0100 |
commit | 07ddaedd33cca58f06d792f8853b15957c56895d (patch) | |
tree | 9f21732f1b5d4366756aafcbdb2d1bcf8c6bd6b4 /src/hci/strerror.c | |
parent | Close UDP connection when DHCP completes. (diff) | |
download | ipxe-07ddaedd33cca58f06d792f8853b15957c56895d.tar.gz ipxe-07ddaedd33cca58f06d792f8853b15957c56895d.tar.xz ipxe-07ddaedd33cca58f06d792f8853b15957c56895d.zip |
Add EIO.
Kill errortab array; it can screw up alignment.
Diffstat (limited to 'src/hci/strerror.c')
-rw-r--r-- | src/hci/strerror.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/hci/strerror.c b/src/hci/strerror.c index 70331e42..e84c852f 100644 --- a/src/hci/strerror.c +++ b/src/hci/strerror.c @@ -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" }; |