projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
src/Makefile: Move proto-generated sources to nodist_*_SOURCES.
[collectd.git]
/
src
/
virt.c
diff --git
a/src/virt.c
b/src/virt.c
index
bbf5afc
..
e5a8725
100644
(file)
--- a/
src/virt.c
+++ b/
src/virt.c
@@
-687,7
+687,7
@@
refresh_lists (void)
/* Get list of domains. */
domids = malloc (sizeof (*domids) * n);
- if (domids ==
0
) {
+ if (domids ==
NULL
) {
ERROR (PLUGIN_NAME " plugin: malloc failed.");
return -1;
}