diff options
author | David Anderson <dvander@google.com> | 2019-12-27 20:28:48 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-12-27 20:28:48 +0000 |
commit | 8c441c44bfd8ba329d4061867badf570163dd4cb (patch) | |
tree | 38c512c5615c38db593d9f91edc4b378f890476f /partition_tools | |
parent | a7e3e6e03c6a70080383ef33a12f4e6bcb19c504 (diff) | |
parent | 8ac2c11edf3cec54386d89f1e15748c85b1f2218 (diff) | |
download | extras-8c441c44bfd8ba329d4061867badf570163dd4cb.tar.gz |
Merge "lpdump: Add support for the DISABLED flag."
Diffstat (limited to 'partition_tools')
-rw-r--r-- | partition_tools/lpdump.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/partition_tools/lpdump.cc b/partition_tools/lpdump.cc index 67994560..047b5ee0 100644 --- a/partition_tools/lpdump.cc +++ b/partition_tools/lpdump.cc @@ -90,6 +90,7 @@ static std::string BuildAttributeString(uint32_t attrs) { if (attrs & LP_PARTITION_ATTR_READONLY) strings.emplace_back("readonly"); if (attrs & LP_PARTITION_ATTR_SLOT_SUFFIXED) strings.emplace_back("slot-suffixed"); if (attrs & LP_PARTITION_ATTR_UPDATED) strings.emplace_back("updated"); + if (attrs & LP_PARTITION_ATTR_DISABLED) strings.emplace_back("disabled"); return BuildFlagString(strings); } |