From: Radoslaw Jablonski Date: Wed, 9 May 2018 11:48:57 +0000 (+0100) Subject: virt: Remove unneeded info about thread id X-Git-Tag: collectd-5.9.0~255^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4272df289f722f198b0aaa8d22e5fd787226793;p=thirdparty%2Fcollectd.git virt: Remove unneeded info about thread id There is only one notification thread in virt plugin, therefore information about ID is not needed. Change-Id: I755f649711a815132927007a80a89caa98704f95 Signed-off-by: Radoslaw Jablonski --- diff --git a/src/virt.c b/src/virt.c index ead138935..3d1a3171b 100644 --- a/src/virt.c +++ b/src/virt.c @@ -1932,8 +1932,7 @@ static void stop_event_loop(virt_notif_thread_t *thread_data) { virConnectDomainEventDeregisterAny(conn, thread_data->domain_event_cb_id); if (pthread_join(notif_thread.event_loop_tid, NULL) != 0) - ERROR(PLUGIN_NAME " plugin: stopping thread %lu failed", - notif_thread.event_loop_tid); + ERROR(PLUGIN_NAME " plugin: stopping notification thread failed"); } static int persistent_domains_state_notification(void) {