[lttng-dev] [PATCH lttng-tools 2/2] Add missing error message for lttcomm_return_code

Zifei Tong soariez at gmail.com
Tue Feb 25 10:41:29 EST 2014


Signed-off-by: Zifei Tong <soariez at gmail.com>
---
 src/common/sessiond-comm/sessiond-comm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/common/sessiond-comm/sessiond-comm.c b/src/common/sessiond-comm/sessiond-comm.c
index 65952b2..05483ff 100644
--- a/src/common/sessiond-comm/sessiond-comm.c
+++ b/src/common/sessiond-comm/sessiond-comm.c
@@ -67,6 +67,7 @@ static const char *lttcomm_readable_code[] = {
 	[ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_ERROR_METADATA) ] = "Error with metadata",
 	[ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_FATAL) ] = "Fatal error",
 	[ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_RELAYD_FAIL) ] = "Error on remote relayd",
+	[ LTTCOMM_ERR_INDEX(LTTCOMM_CONSUMERD_CHANNEL_FAIL) ] = "Channel creation failed",
 
 	/* Last element */
 	[ LTTCOMM_ERR_INDEX(LTTCOMM_NR) ] = "Unknown error code"
-- 
1.8.3.4 (Apple Git-47)




More information about the lttng-dev mailing list