Commit 718c41af authored by Lucas Russo's avatar Lucas Russo

{include,src}/dev_io_err.*: fix mixed up error codes

Some errors were not in the error descriptor table and some
were missing entirely.
parent 45a1bbac
......@@ -31,6 +31,7 @@ enum _devio_err_e {
DEVIO_ERR_SMIO_DESTROY, /* Could not destroy sm_io instance */
DEVIO_ERR_INV_SOCKET, /* Invalid socket reference */
DEVIO_ERR_MOD_LLIO, /* Error modifying LLIO instance */
DEVIO_ERR_CFG, /* Could not get property from config file */
DEVIO_ERR_END /* End of enum marker */
};
......
......@@ -25,7 +25,9 @@ static const char *devio_err [DEVIO_ERR_END] =
[DEVIO_ERR_BAD_MSG] = "Malformed message received",
[DEVIO_ERR_TERMINATED] = "Terminated devio instance",
[DEVIO_ERR_SMIO_DESTROY] = "Could not destroy sm_io instance",
[DEVIO_ERR_MOD_LLIO] = "Error modifying LLIO instance"
[DEVIO_ERR_INV_SOCKET] = "Invalid socket reference",
[DEVIO_ERR_MOD_LLIO] = "Error modifying LLIO instance",
[DEVIO_ERR_CFG] = "Could not get property from config file"
};
/* Convert enumeration type to string */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment