diff --git a/src/memory.c b/src/memory.c
index 3fbd33fb0c1da1a90cb666e1e6df044a711a2f64..5cb574dc9f18ef3c8dace1d9e90a6e0041c526ac 100644 (file)
--- a/src/memory.c
+++ b/src/memory.c
vl.time = time (NULL);
strcpy (vl.host, hostname_g);
strcpy (vl.plugin, "memory");
+ strcpy (vl.type, "memory");
strncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));
vl.type_instance[sizeof (vl.type_instance) - 1] = '\0';
- plugin_dispatch_values ("memory", &vl);
+ plugin_dispatch_values (&vl);
}
static int memory_read (void)