aboutsummaryrefslogtreecommitdiffstats
path: root/heimdall/source/Interface.cpp
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-30 00:50:27 +1100
committerBenjamin Dobell <benjamin.dobell+github@glassechidna.com.au>2012-03-30 00:50:27 +1100
commit907c942fd12ff204a387f5cc0a7f3de079186100 (patch)
tree5dfad7a827b3ceff16f775a5d10f72207d0b8007 /heimdall/source/Interface.cpp
parent713af23d0a8a65926e03ad2e50406aae2463e6e1 (diff)
downloadexternal_heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.zip
external_heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.gz
external_heimdall-907c942fd12ff204a387f5cc0a7f3de079186100.tar.bz2
Renamed partitionType to chipIdentifier as partition type was incorrect.
Diffstat (limited to 'heimdall/source/Interface.cpp')
-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());