Print explicit error message on iSCSI boot failure, and add

"Permission denied" as an error text to strerror().
This commit is contained in:
Michael Brown
2006-12-21 16:16:24 +00:00
parent fbc7b4dfa8
commit 286db6ffa3
2 changed files with 4 additions and 1 deletions

View File

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