From: Mathieu Desnoyers Date: Tue, 2 Jul 2013 19:12:42 +0000 (-0400) Subject: Fix: add missing enum lttcomm_return_code entries X-Git-Tag: v2.3.0-rc1~80 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4072766028245aa7de833a50347dd5f2d6c53dbd;p=lttng-tools.git Fix: add missing enum lttcomm_return_code entries Those should not appear as unknown. Signed-off-by: Mathieu Desnoyers --- diff --git a/src/common/sessiond-comm/sessiond-comm.c b/src/common/sessiond-comm/sessiond-comm.c index 64223df47..738362c1a 100644 --- a/src/common/sessiond-comm/sessiond-comm.c +++ b/src/common/sessiond-comm/sessiond-comm.c @@ -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"