projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix: wrong error code returned by kernel_snapshot_record()
[lttng-tools.git]
/
src
/
bin
/
lttng-sessiond
/
kernel.c
diff --git
a/src/bin/lttng-sessiond/kernel.c
b/src/bin/lttng-sessiond/kernel.c
index 8e972b0693cc28362fe36e9a80b040d128bed62c..e3118f1910048fefd890742eb3fa44c0491ef062 100644
(file)
--- a/
src/bin/lttng-sessiond/kernel.c
+++ b/
src/bin/lttng-sessiond/kernel.c
@@
-1297,7
+1297,7
@@
enum lttng_error_code kernel_snapshot_record(struct ltt_kernel_session *ksess,
/* Put back the saved consumer output into the session. */
ksess->consumer = saved_output;
if (ret < 0) {
- status = LTTNG_ERR_KERN_
CONSUMER
_FAIL;
+ status = LTTNG_ERR_KERN_
META
_FAIL;
goto error_consumer;
}
This page took
0.024757 seconds
and
4
git commands to generate.