X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ferror.c;h=938932cdc7b5cbd6ab03a1789cf9330712a8b5f2;hb=903ef6855b15a3352dee0d9870ca1b918669aa80;hp=1067e48527e8d3fc70a46cd3766d26bc8d475f8d;hpb=62a0c2d4933fd52b78c896cf40a935e42ea94360;p=lttng-tools.git diff --git a/src/common/error.c b/src/common/error.c index 1067e4852..938932cdc 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -185,6 +185,7 @@ static const char *error_string_array[] = { [ ERROR_INDEX(LTTNG_ERR_KERN_CONTEXT_UNAVAILABLE) ] = "Context unavailable on this kernel", [ ERROR_INDEX(LTTNG_ERR_REGEN_STATEDUMP_FAIL) ] = "Failed to regenerate the state dump", [ ERROR_INDEX(LTTNG_ERR_REGEN_STATEDUMP_NOMEM) ] = "Failed to regenerate the state dump, not enough memory", + [ ERROR_INDEX(LTTNG_ERR_NOT_SNAPSHOT_SESSION) ] = "Snapshot command can't be applied to a non-snapshot session", /* Last element */ [ ERROR_INDEX(LTTNG_ERR_NR) ] = "Unknown error code"