Fix: add missing enum lttcomm_return_code entries
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 2 Jul 2013 19:12:42 +0000 (15:12 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Thu, 4 Jul 2013 15:56:36 +0000 (11:56 -0400)
Those should not appear as unknown.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/sessiond-comm/sessiond-comm.c

index 64223df47bc45038ead29c02f4657b5b0a9c3d11..738362c1a6f2c533fd43ed38c829e5386e7dcd66 100644 (file)
@@ -61,6 +61,9 @@ static const char *lttcomm_readable_code[] = {
        [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_SPLICE_EINVAL) ] = "consumerd splice EINVAL",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_SPLICE_ENOMEM) ] = "consumerd splice ENOMEM",
        [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_SPLICE_ESPIPE) ] = "consumerd splice ESPIPE",
+       [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_ENOMEM) ] = "Consumer is out of memory",
+       [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_ERROR_METADATA) ] = "Error with metadata",
+       [ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_FATAL) ] = "Fatal error",
 
        /* Last element */
        [ LTTCOMM_ERR_INDEX(LTTCOMM_NR) ] = "Unknown error code"
This page took 0.027997 seconds and 4 git commands to generate.