projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d33ec28
)
lvm: change vg_read() return value to void
author
Marc Fournier
<marc.fournier@camptocamp.com>
Fri, 8 Aug 2014 07:30:34 +0000
(09:30 +0200)
committer
Marc Fournier
<marc.fournier@camptocamp.com>
Fri, 8 Aug 2014 07:30:34 +0000
(09:30 +0200)
To match function prototype change from
55cd1f9a
and avoid conflict with
bugfix from
25d7de9
.
src/lvm.c
patch
|
blob
|
history
diff --git
a/src/lvm.c
b/src/lvm.c
index
bd22740
..
9e24542
100644
(file)
--- a/
src/lvm.c
+++ b/
src/lvm.c
@@
-121,7
+121,7
@@
static void vg_read(vg_t vg, char const *vg_name)
lvs = lvm_vg_list_lvs(vg);
if (!lvs) {
/* no VGs are defined, which is not an error per se */
- return
(0)
;
+ return;
}
dm_list_iterate_items(lvl, lvs) {