From b59f84fe42dd6152bf1afe060554284c1f7f054f Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Thu, 24 May 2018 14:03:02 +0200 Subject: [PATCH] virt plugin: set bool to false, not 0 --- src/virt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/virt.c b/src/virt.c index caaf077e..9f87d2c2 100644 --- a/src/virt.c +++ b/src/virt.c @@ -1899,7 +1899,7 @@ static int virt_notif_thread_init(virt_notif_thread_t *thread_data) { */ thread_data->domain_event_cb_id = -1; pthread_mutex_lock(&thread_data->active_mutex); - thread_data->is_active = 0; + thread_data->is_active = false; pthread_mutex_unlock(&thread_data->active_mutex); return 0; -- 2.11.0