diff --git a/tools/dmsetup.c b/tools/dmsetup.c index ae04c9d99..893292119 100644 --- a/tools/dmsetup.c +++ b/tools/dmsetup.c @@ -5122,7 +5122,7 @@ static int _stats_report(CMD_ARGS) _statstype |= (DM_STATS_WALK_ALL | DM_STATS_WALK_SKIP_SINGLE_AREA); - if (!strcmp(subcommand, "report")) + if (!strcmp(subcommand, "report") && !_switches[STATSTYPE_ARG]) /* suppress duplicate rows of output */ _statstype |= (DM_STATS_WALK_ALL | DM_STATS_WALK_SKIP_SINGLE_AREA);