From a497b95db15a24c82f29fd8b00de5fbd1e56b1c5 Mon Sep 17 00:00:00 2001 From: "Bryn M. Reeves" Date: Wed, 6 Jul 2016 11:16:12 +0100 Subject: [PATCH] libdm: use log_err_once() for group histogram message --- libdm/libdm-stats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libdm/libdm-stats.c b/libdm/libdm-stats.c index 06aa64566..12c821f23 100644 --- a/libdm/libdm-stats.c +++ b/libdm/libdm-stats.c @@ -3179,7 +3179,7 @@ struct dm_histogram *dm_stats_get_histogram(const struct dm_stats *dms, /* FIXME return histogram sum? Requires bounds check at group time */ if (region_id & DM_STATS_WALK_GROUP) { - log_warn("Group histogram data is not supported"); + log_err_once("Group histogram data is not supported"); return NULL; }