From: Chad Malfait Date: Sun, 7 Apr 2013 02:45:39 +0000 (-0600) Subject: Corrected typo X-Git-Tag: collectd-5.4.0~56^2~8 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=661dba876849d674bbca25f3fe18cb38eb149478;p=collectd.git Corrected typo --- diff --git a/src/volume.c b/src/volume.c index b5424aa0..aa250258 100644 --- a/src/volume.c +++ b/src/volume.c @@ -25,7 +25,7 @@ #include "common.h" #include "plugin.h" -static void volume_submit(const char *vol_name, const char *type, const char type_instance, gauge_t value) +static void volume_submit(const char *vol_name, const char *type, const char *type_instance, gauge_t value) { value_t values[1]; value_list_t vl = VALUE_LIST_INIT; @@ -36,7 +36,7 @@ static void volume_submit(const char *vol_name, const char *type, const char typ vl.values_len = STATIC_ARRAY_SIZE (values); sstrncpy(vl.host, hostname_g, sizeof (vl.host)); sstrncpy(vl.type, type, sizeof (vl.type)); - sstrncpy(vl.type_instance, type_instacne, sizeof (vl.type_instance)); + sstrncpy(vl.type_instance, type_instance, sizeof (vl.type_instance)); plugin_dispatch_values (&vl); }