projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: handle backward compatibility with lttng-modules 2.7
[lttng-tools.git]
/
src
/
common
/
consumer
/
consumer-timer.c
diff --git
a/src/common/consumer/consumer-timer.c
b/src/common/consumer/consumer-timer.c
index 931f7471fc6fe974982ff1cb687750ff68f80a7c..b0a434284a87d888f631b3fc8f0d435fc4c1d888 100644
(file)
--- a/
src/common/consumer/consumer-timer.c
+++ b/
src/common/consumer/consumer-timer.c
@@
-148,7
+148,7
@@
int consumer_flush_kernel_index(struct lttng_consumer_stream *stream)
}
ret = kernctl_snapshot(stream->wait_fd);
if (ret < 0) {
}
ret = kernctl_snapshot(stream->wait_fd);
if (ret < 0) {
- if (
errno != EAGAIN && errno !=
ENODATA) {
+ if (
ret != -EAGAIN && ret != -
ENODATA) {
PERROR("live timer kernel snapshot");
ret = -1;
goto end;
PERROR("live timer kernel snapshot");
ret = -1;
goto end;
This page took
0.023651 seconds
and
4
git commands to generate.