mqtt, gps: add name parameter to plugin_thread_create()
[collectd.git] / src / mqtt.c
index c08fd29..32304f0 100644 (file)
@@ -776,7 +776,8 @@ static int mqtt_init (void)
         status = plugin_thread_create (&subscribers[i]->thread,
                 /* attrs = */ NULL,
                 /* func  = */ subscribers_thread,
-                /* args  = */ subscribers[i]);
+                /* args  = */ subscribers[i],
+                /* name  = */ "mqtt");
         if (status != 0)
         {
             char errbuf[1024];