diff options
author | Michael Brown <mcb30@etherboot.org> | 2006-12-20 07:57:40 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2006-12-20 07:57:40 +0000 |
commit | 07ddaedd33cca58f06d792f8853b15957c56895d (patch) | |
tree | 9f21732f1b5d4366756aafcbdb2d1bcf8c6bd6b4 /src/hci/strerror.c | |
parent | 60a3f77711215a6aa993facfdb9ee535ca36b2ab (diff) | |
download | ipxe-07ddaedd33cca58f06d792f8853b15957c56895d.tar.gz |
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 70331e42b..e84c852fc 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" }; |