summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 87a3da3)
raw | patch | inline | side by side (parent: 87a3da3)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 29 Aug 2009 13:25:23 +0000 (15:25 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 29 Aug 2009 13:25:23 +0000 (15:25 +0200) |
src/zfs_arc.c | patch | blob | history |
diff --git a/src/zfs_arc.c b/src/zfs_arc.c
index 43e5b03ebb8a1fd3e0ce3e9471b5afc1fbb2b9a9..5f14e90981adda089fb2b94cd85b5094a4e451b2 100644 (file)
--- a/src/zfs_arc.c
+++ b/src/zfs_arc.c
static kstat_t *ksp;
extern kstat_ctl_t *kc;
-static void za_submit (const char* type, const char* type_instance, value_t values[], int values_len)
+static void za_submit (const char* type, const char* type_instance, value_t* values, int values_len)
{
value_list_t vl = VALUE_LIST_INIT;
sstrncpy (vl.host, hostname_g, sizeof (vl.host));
sstrncpy (vl.plugin, "zfs_arc", sizeof (vl.plugin));
sstrncpy (vl.type, type, sizeof (vl.type));
- sstrncpy (vl.type_instance, type_instance, sizeof (vl.type));
+ sstrncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));
plugin_dispatch_values (&vl);
}