summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hci/strerror.c9
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" };