From 56bb6150401b441c2d383b52c77d347b4cfa8514 Mon Sep 17 00:00:00 2001 From: Marc Fournier Date: Fri, 8 Aug 2014 09:30:34 +0200 Subject: [PATCH] lvm: change vg_read() return value to void To match function prototype change from 55cd1f9a and avoid conflict with bugfix from 25d7de9. --- src/lvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lvm.c b/src/lvm.c index bd227401..9e245423 100644 --- 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) { -- 2.11.0