X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.c;h=07525480e8d690ac393e4ebb672e5f9c866d9bf7;hb=e569405f2cc82525cf67cf5f34cd9ea59aa984c0;hp=b1a3f0b70c8cf9b0868113652c3cbcb23ca4e78a;hpb=e435a72416ea470f5e1d951cf1bb7dfaf31651bd;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/kernel.c b/src/bin/lttng-sessiond/kernel.c index b1a3f0b70..07525480e 100644 --- a/src/bin/lttng-sessiond/kernel.c +++ b/src/bin/lttng-sessiond/kernel.c @@ -1022,7 +1022,7 @@ int kernel_snapshot_record(struct ltt_kernel_session *ksess, /* Put back the saved consumer output into the session. */ ksess->consumer = saved_output; if (ret < 0) { - ret = LTTNG_ERR_KERN_CONSUMER_FAIL; + ret = LTTNG_ERR_KERN_META_FAIL; goto error_consumer; }