projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mqtt, gps: add name parameter to plugin_thread_create()
[collectd.git]
/
src
/
gps.c
diff --git
a/src/gps.c
b/src/gps.c
index
b529422
..
81056e3
100644
(file)
--- 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));
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.");
if (status != 0)
{
ERROR ("gps plugin: pthread_create() failed.");