diff --git a/libdm/dm-tools/dmsetup.c b/libdm/dm-tools/dmsetup.c index ddee74a14..a9c01f826 100644 --- a/libdm/dm-tools/dmsetup.c +++ b/libdm/dm-tools/dmsetup.c @@ -5451,7 +5451,7 @@ static int _stats_create_file(CMD_ARGS) if (!strlen(program_id) && !_switches[FORCE_ARG]) program_id = DM_STATS_PROGRAM_ID; - precise = _int_args[PRECISE_ARG]; + precise = _switches[PRECISE_ARG]; group = !_switches[NOGROUP_ARG]; mode = _stats_get_filemapd_mode();