liboconfig: Check return values of calloc() and realloc().
[collectd.git] / src / gmond.c
index 984d5f5..fc9a232 100644 (file)
@@ -812,8 +812,9 @@ static int mc_receive_thread_start(void) /* {{{ */
 
   mc_receive_thread_loop = 1;
 
-  status = plugin_thread_create(&mc_receive_thread_id, /* attr = */ NULL,
-                                mc_receive_thread, /* args = */ NULL);
+  status =
+      plugin_thread_create(&mc_receive_thread_id, /* attr = */ NULL,
+                           mc_receive_thread, /* args = */ NULL, "gmond recv");
   if (status != 0) {
     ERROR("gmond plugin: Starting receive thread failed.");
     mc_receive_thread_loop = 0;