X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fping.c;h=8bbb80765f54a1b76021b3be4dea1ad5d49a832d;hb=9f6f901889d4c9f594b5ae1fd0f449fcdd2d8fe3;hp=ab1459e3a938544d29fab7b2c7777205b3b48f1f;hpb=c207f0ca4e3eca8d8bbd897884ae3ad8f8e9859d;p=collectd.git diff --git a/src/ping.c b/src/ping.c index ab1459e3..8bbb8076 100644 --- a/src/ping.c +++ b/src/ping.c @@ -379,7 +379,7 @@ static int start_thread (void) /* {{{ */ ping_thread_loop = 1; ping_thread_error = 0; - status = pthread_create (&ping_thread_id, /* attr = */ NULL, + status = plugin_thread_create (&ping_thread_id, /* attr = */ NULL, ping_thread, /* arg = */ (void *) 0); if (status != 0) {