summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 621c405)
raw | patch | inline | side by side (parent: 621c405)
author | Chad Malfait <cmalfait@cisco.com> | |
Sun, 7 Apr 2013 02:45:39 +0000 (20:45 -0600) | ||
committer | Chad Malfait <cmalfait@cisco.com> | |
Sun, 7 Apr 2013 02:45:39 +0000 (20:45 -0600) |
src/volume.c | patch | blob | history |
diff --git a/src/volume.c b/src/volume.c
index b5424aa0dafbfd112ad2c945a9bc1d537cbd75f1..aa25025837be9e1310eddce9a722d17d8c209a28 100644 (file)
--- a/src/volume.c
+++ b/src/volume.c
#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;
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);
}