diff options
author | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2012-03-29 15:50:27 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+github@glassechidna.com.au> | 2012-03-29 15:50:27 +0200 |
commit | 907c942fd12ff204a387f5cc0a7f3de079186100 (patch) | |
tree | 5dfad7a827b3ceff16f775a5d10f72207d0b8007 /heimdall/source/Interface.cpp | |
parent | Replaced some extremely weird code that I came up with during the initial (diff) | |
download | Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.gz Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.bz2 Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.lz Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.xz Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.zst Heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.zip |
Diffstat (limited to '')
-rw-r--r-- | heimdall/source/Interface.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/heimdall/source/Interface.cpp b/heimdall/source/Interface.cpp index 55aa392..28db003 100644 --- a/heimdall/source/Interface.cpp +++ b/heimdall/source/Interface.cpp @@ -444,14 +444,9 @@ void Interface::PrintPit(const PitData *pitData) Interface::Print("\n\n--- Entry #%d ---\n", i); Interface::Print("Unused: %s\n", (entry->GetUnused()) ? "Yes" : "No"); - const char *partitionTypeText = "Unknown"; + const char *chipIdentifierText = "Unknown"; - if (entry->GetPartitionType() == PitEntry::kPartitionTypeRfs) - partitionTypeText = "RFS"; - else if (entry->GetPartitionType() == PitEntry::kPartitionTypeExt4) - partitionTypeText = "EXT4"; - - Interface::Print("Partition Type: %d (%s)\n", entry->GetPartitionType(), partitionTypeText); + Interface::Print("Chip Identifier: %d (%s)\n", entry->GetChipIdentifier()); Interface::Print("Partition Identifier: %d\n", entry->GetPartitionIdentifier()); |