diff --git a/src/swap.c b/src/swap.c
index 1cf707797f1057b4fb6124c763a46e057b2753ee..632d372e1bc6e5e48acf5181691f7ddef6cb07e8 100644 (file)
--- a/src/swap.c
+++ b/src/swap.c
vl.time = time (NULL);
strcpy (vl.host, hostname_g);
strcpy (vl.plugin, "swap");
+ strcpy (vl.type, "swap");
strncpy (vl.type_instance, type_instance, sizeof (vl.type_instance));
- plugin_dispatch_values ("swap", &vl);
+ plugin_dispatch_values (&vl);
} /* void swap_submit */
static int swap_read (void)