From 661dba876849d674bbca25f3fe18cb38eb149478 Mon Sep 17 00:00:00 2001 From: Chad Malfait Date: Sat, 6 Apr 2013 20:45:39 -0600 Subject: [PATCH] Corrected typo --- src/volume.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.11.0