diff --git a/src/tools/rbd/action/Group.cc b/src/tools/rbd/action/Group.cc index 4f238be4e60..999f0046827 100644 --- a/src/tools/rbd/action/Group.cc +++ b/src/tools/rbd/action/Group.cc @@ -461,7 +461,7 @@ int execute_group_snap_list(const po::variables_map &vm) { } if (f) { f->dump_string("snap name", snap_name); - f->dump_int("state", state); + f->dump_string("state", state_string); } else { t << snap_name << state_string << TextTable::endrow; }