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.2.1~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fd9f8576d1d2c5da7e2934d927b5f977ff74e9b3;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"