X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fvirt.c;fp=src%2Fvirt.c;h=e14f7d6cd8d99356b743f663a6ea32367646a785;hp=7e7e057893471f146225ec9ee29e3e13286ddb46;hb=7eb098e42b5f22202495ab396ef1f9bf12d251f2;hpb=47e93ad3cb7e70064ac19a03c34b6e6835f19fd5 diff --git a/src/virt.c b/src/virt.c index 7e7e0578..e14f7d6c 100644 --- a/src/virt.c +++ b/src/virt.c @@ -946,7 +946,8 @@ static void memory_stats_submit(gauge_t value, virDomainPtr dom, "last_update", "disk_caches"}; if ((tag_index < 0) || (tag_index >= (int)STATIC_ARRAY_SIZE(tags))) { - ERROR("virt plugin: Array index out of bounds: tag_index = %d", tag_index); + ERROR(PLUGIN_NAME " plugin: Array index out of bounds: tag_index = %d", + tag_index); return; }