Skip to contentSkip to conversation

master - libdm: fix <backtrace> in dm_stats_populate

PATCH Bryn Reeves 1 participant 1 message Jul 5, 2016

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=0f64f2d5fcf6cc9fa6529bde918938755b644128
Commit:        0f64f2d5fcf6cc9fa6529bde918938755b644128
Parent:        53e92441a613270750c12089b119337a71ff545a
Author:        Bryn M. Reeves <[email protected]>
AuthorDate:    Tue Jul 5 18:34:14 2016 +0100
Committer:     Bryn M. Reeves <[email protected]>
CommitterDate: Tue Jul 5 19:53:17 2016 +0100

libdm: fix <backtrace> in dm_stats_populate

---
 libdm/libdm-stats.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
libdm/libdm-stats.c +1 -1
index ab15589..83c4d50 100644
@@ -2227,7 +2227,7 @@ int dm_stats_populate(struct dm_stats *dms, const char *program_id,
 
 	/* successful list but no regions registered */
 	if (!dms->nr_regions)
-		return_0;
+		return 0;
 
 	dms->walk_flags = DM_STATS_WALK_REGION;
 	dm_stats_walk_start(dms);