author | Pierre-Yves Ritschard <pyr@spootnik.org> | |
Thu, 31 Jul 2014 21:49:35 +0000 (23:49 +0200) | ||
committer | Pierre-Yves Ritschard <pyr@spootnik.org> | |
Thu, 31 Jul 2014 21:49:35 +0000 (23:49 +0200) |
Included memory usage per VM
1 | 2 | |||
---|---|---|---|---|
src/libvirt.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc src/libvirt.c
index 7f75d24320cb85d5aa1b97ce286ac790b962e2be,8eec9aafa8a2f722427425a30a10b928894d14e9..b0c694a3739106ec6c7a75b69fff1afcfdcc1f0f
--- 1/src/libvirt.c
--- 2/src/libvirt.c
+++ b/src/libvirt.c
/* cpu map = */ NULL, /* cpu map length = */ 0);
if (status < 0)
{
- ERROR ("libvirt plugin: virDomainGetVcpus failed with status %i.",
+ ERROR (PLUGIN_NAME " plugin: virDomainGetVcpus failed with status %i.",
status);
- free (vinfo);
+ sfree (vinfo);
continue;
}