X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Fkernel.c;h=760db52ea46955bc8139c99881cfc1ac59ec3cb2;hb=refs%2Fheads%2Fstable-2.10;hp=8892e76dc144f7963be7813647df05e5f9006da1;hpb=649c4198dc4c9349bf88109b7f442382b426d1cc;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/kernel.c b/src/bin/lttng-sessiond/kernel.c index 8892e76dc..760db52ea 100644 --- a/src/bin/lttng-sessiond/kernel.c +++ b/src/bin/lttng-sessiond/kernel.c @@ -1023,7 +1023,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; }