Commit 0e73579f authored by Lucas Russo's avatar Lucas Russo

src/libs/libdisptable/*: add BAD_MSG error

parent fcebe708
......@@ -15,7 +15,8 @@ static const char *disp_table_err [DISP_TABLE_ERR_END] =
[DISP_TABLE_SUCCESS] = "Success",
[DISP_TABLE_ERR_ALLOC] = "Could not allocate memory",
[DISP_TABLE_ERR_NULL_POINTER] = "Null pointer received",
[DISP_TABLE_ERR_NO_FUNC_REG] = "No function registered"
[DISP_TABLE_ERR_NO_FUNC_REG] = "No function registered",
[DISP_TABLE_ERR_BAD_MSG] = "Bad message detected"
};
/* Convert enumeration type to string */
......
......@@ -17,6 +17,7 @@ enum _disp_table_err_e
DISP_TABLE_ERR_ALLOC, /* Could not allocate memory */
DISP_TABLE_ERR_NULL_POINTER, /* Null pointer received */
DISP_TABLE_ERR_NO_FUNC_REG, /* No function registered */
DISP_TABLE_ERR_BAD_MSG, /* Bad message detected */
DISP_TABLE_ERR_END
};
......
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