X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fgps.c;h=81056e3c973a80f07188e9549e7132554e847862;hp=b5294228800e86efa784b1b34fdc255c631d0d62;hb=6d8031d73b7c1d874d7afa4cad2f248c4073764d;hpb=a4b9c9ad2d77656892026ad4b51f9fb7c2a58149 diff --git a/src/gps.c b/src/gps.c index b5294228..81056e3c 100644 --- a/src/gps.c +++ b/src/gps.c @@ -300,7 +300,7 @@ static int cgps_init (void) CDTIME_T_TO_DOUBLE (cgps_config_data.timeout), CDTIME_T_TO_DOUBLE (cgps_config_data.pause_connect)); - status = plugin_thread_create (&cgps_thread_id, NULL, cgps_thread, NULL); + status = plugin_thread_create (&cgps_thread_id, NULL, cgps_thread, NULL, "gps"); if (status != 0) { ERROR ("gps plugin: pthread_create() failed.");