From: Radoslaw Jablonski Date: Wed, 9 May 2018 11:48:57 +0000 (+0100) Subject: virt: Remove unneeded info about thread id X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c4272df289f722f198b0aaa8d22e5fd787226793;p=collectd.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 ead13893..3d1a3171 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) {