X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fapple_sensors.c;h=d312027670a2b34c68bd2974d90095a93201b168;hb=fd9c88963b04c9e9050a952ba0f018493e8b7638;hp=629633589bc0b086b3918d167090512b2bba33d2;hpb=148e8732e45435a051df1c3673cad0d5dc77492f;p=collectd.git diff --git a/src/apple_sensors.c b/src/apple_sensors.c index 62963358..d3120276 100644 --- a/src/apple_sensors.c +++ b/src/apple_sensors.c @@ -91,7 +91,7 @@ static void as_submit (const char *type, const char *type_instance, sstrncpy (vl.host, hostname_g, sizeof (vl.host)); sstrncpy (vl.plugin, "apple_sensors", sizeof (vl.plugin)); sstrncpy (vl.plugin_instance, "", sizeof (vl.plugin_instance)); - sstrncpy (vl.type, type, sizeof (vl.type)) + sstrncpy (vl.type, type, sizeof (vl.type)); sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance)); plugin_dispatch_values (&vl);