Code

Restore BYTE_ORDER on DARWIN The files matching grep "define _POSIX_C_SOURCE" src...
[collectd.git] / src / apple_sensors.c
index 629633589bc0b086b3918d167090512b2bba33d2..d312027670a2b34c68bd2974d90095a93201b168 100644 (file)
@@ -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);