From 9fed015cbc40e9323cca8f22702eb17ba1d9c2f2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 15 Mar 2023 16:42:27 -0400 Subject: [PATCH] Fix: consumerd: wrong timer mentioned in error logging MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit As its name indicates, consumer_timer_monitor_stop() stops the _monitor_ timer; not the live timer. This is most likely a copy-paste error. The error logging is fixed to mention the appropriate timer. Change-Id: I418580d8928752a0702d522e3ca74fe54cbe6f8f Signed-off-by: Jérémie Galarneau --- src/common/consumer/consumer-timer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/consumer/consumer-timer.cpp b/src/common/consumer/consumer-timer.cpp index 8c9371bae..2ae7f0f73 100644 --- a/src/common/consumer/consumer-timer.cpp +++ b/src/common/consumer/consumer-timer.cpp @@ -530,7 +530,7 @@ int consumer_timer_monitor_stop(struct lttng_consumer_channel *channel) ret = consumer_channel_timer_stop(&channel->monitor_timer, LTTNG_CONSUMER_SIG_MONITOR); if (ret == -1) { - ERR("Failed to stop live timer"); + ERR("Failed to stop monitor timer"); goto end; } -- 2.34.1