From: Bryn M. Reeves Date: Tue, 13 Dec 2016 15:32:34 +0000 (+0000) Subject: libdm: fix dm_stats_foreach_group() macro X-Git-Tag: v2_02_169~579 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ea9af3e290879403d99dd602153ff9d0ad0de8de;p=lvm2.git libdm: fix dm_stats_foreach_group() macro --- diff --git a/libdm/libdevmapper.h b/libdm/libdevmapper.h index fe2e410bd..ab69a5690 100644 --- a/libdm/libdevmapper.h +++ b/libdm/libdevmapper.h @@ -1138,9 +1138,9 @@ for (dm_stats_walk_init((dms), DM_STATS_WALK_AREA), \ */ #define dm_stats_foreach_group(dms) \ for (dm_stats_walk_init((dms), DM_STATS_WALK_GROUP), \ - dm_stats_group_walk_start(dms); \ - !dm_stats_group_walk_end(dms); \ - dm_stats_group_walk_next(dms)) + dm_stats_walk_start(dms); \ + !dm_stats_walk_end(dms); \ + dm_stats_walk_next(dms)) /* * Start a walk iterating over the regions contained in dm_stats handle