diff --git a/src/irq.c b/src/irq.c
index 6e1f92ec112ed210bc10ff00f51b1f5cb9fa74b0..5826dc3d8fe3db46d44bb258f65ee06773d60e3c 100644 (file)
--- a/src/irq.c
+++ b/src/irq.c
vl.values = values;
vl.values_len = 1;
vl.time = time (NULL);
- strcpy (vl.host, hostname);
+ strcpy (vl.host, hostname_g);
strcpy (vl.plugin, "irq");
status = snprintf (vl.type_instance, sizeof (vl.type_instance),