From: Jérémie Galarneau Date: Wed, 15 Mar 2023 20:42:27 +0000 (-0400) Subject: Fix: consumerd: wrong timer mentioned in error logging X-Git-Tag: v2.13.13~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=66011855c392036ddc8d33e0cbc9eb799dec5448;p=lttng-tools.git Fix: consumerd: wrong timer mentioned in error logging 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. Signed-off-by: Jérémie Galarneau Change-Id: I9768408581fc6a06f47892850a3a91669df35188 --- diff --git a/src/common/consumer/consumer-timer.c b/src/common/consumer/consumer-timer.c index a16ae2eb9..b6bde28b3 100644 --- a/src/common/consumer/consumer-timer.c +++ b/src/common/consumer/consumer-timer.c @@ -534,7 +534,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; }