projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
034cb23
)
Auto-Merge pull request #2957 from niuxu18/collectd-5.8
author
collectd bot
<32910397+collectd-bot@users.noreply.github.com>
Wed, 17 Oct 2018 06:17:17 +0000
(08:17 +0200)
committer
GitHub
<noreply@github.com>
Wed, 17 Oct 2018 06:17:17 +0000
(08:17 +0200)
Automatically merged due to "Automerge" label
src/virt.c
patch
|
blob
|
history
diff --git
a/src/virt.c
b/src/virt.c
index
39165bc
..
71b5b32
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-1189,13
+1189,13
@@
static int get_vcpu_stats(virDomainPtr domain, unsigned short nr_virt_cpu) {
virVcpuInfoPtr vinfo = calloc(nr_virt_cpu, sizeof(vinfo[0]));
if (vinfo == NULL) {
- ERROR(PLUGIN_NAME " plugin:
m
alloc failed.");
+ ERROR(PLUGIN_NAME " plugin:
c
alloc failed.");
return -1;
}
unsigned char *cpumaps = calloc(nr_virt_cpu, cpu_map_len);
if (cpumaps == NULL) {
- ERROR(PLUGIN_NAME " plugin:
m
alloc failed.");
+ ERROR(PLUGIN_NAME " plugin:
c
alloc failed.");
sfree(vinfo);
return -1;
}