Fix: channel names are not validated
[lttng-tools.git] / src / common / error.c
index fc17eba0b97b680aae8287fe8695a4d486433358..1d76697a1641ffabe251bb90e42c08a8e8c5a5b9 100644 (file)
@@ -161,6 +161,7 @@ static const char *error_string_array[] = {
        [ ERROR_INDEX(LTTNG_ERR_LOAD_IO_FAIL) ] = "IO error while reading a session configuration",
        [ ERROR_INDEX(LTTNG_ERR_LOAD_SESSION_NOENT) ] = "Session file not found",
        [ ERROR_INDEX(LTTNG_ERR_MAX_SIZE_INVALID) ] = "Snapshot max size is invalid",
+       [ ERROR_INDEX(LTTNG_ERR_INVALID_CHANNEL_NAME) ] = "Invalid channel name",
 
        /* Last element */
        [ ERROR_INDEX(LTTNG_ERR_NR) ] = "Unknown error code"
This page took 0.025942 seconds and 4 git commands to generate.