summaryrefslogtreecommitdiffstats
path: root/heimdall/source/Interface.cpp
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-29 15:50:27 +0200
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-29 15:50:27 +0200
commit907c942fd12ff204a387f5cc0a7f3de079186100 (patch)
tree5dfad7a827b3ceff16f775a5d10f72207d0b8007 /heimdall/source/Interface.cpp
parentReplaced some extremely weird code that I came up with during the initial (diff)
downloadHeimdall-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.cpp9
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());