summaryrefslogtreecommitdiffstats
path: root/src/hci/strerror.c
diff options
context:
space:
mode:
authorMichael Brown2006-12-21 17:16:24 +0100
committerMichael Brown2006-12-21 17:16:24 +0100
commit286db6ffa33b4c547052f94e820b34315f43d7b2 (patch)
tree3cfef7ef544cf34a67daaec5883e4b9c289ed4f5 /src/hci/strerror.c
parentAdd iSCSI initiator IQN as a setting (diff)
downloadipxe-286db6ffa33b4c547052f94e820b34315f43d7b2.tar.gz
ipxe-286db6ffa33b4c547052f94e820b34315f43d7b2.tar.xz
ipxe-286db6ffa33b4c547052f94e820b34315f43d7b2.zip
Print explicit error message on iSCSI boot failure, and add
"Permission denied" as an error text to strerror().
Diffstat (limited to 'src/hci/strerror.c')
-rw-r--r--src/hci/strerror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hci/strerror.c b/src/hci/strerror.c
index e84c852f..b012ccc3 100644
--- a/src/hci/strerror.c
+++ b/src/hci/strerror.c
@@ -57,3 +57,4 @@ 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" };
+struct errortab eacces __errortab = { EACCES, "Permission denied" };