aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author3l H4ck3r C0mf0r7 <pablexworld13@gmail.com>2023-10-11 21:57:37 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-10-11 21:57:37 +0000
commit92000ece0f78e2c41eefd1d8cdadd137265bbf08 (patch)
tree090dc74bbe294d5789a677b4db77dc8dfd4b930c
parent1e14892bad305887104ab42d82a75101beaeab6f (diff)
parente7d823bb4864ee4bef5f1dd58d0e5f0b55702ef5 (diff)
downloadgptfdisk-92000ece0f78e2c41eefd1d8cdadd137265bbf08.tar.gz
Fix hybrid MBR recognition on --android-dump am: 20a492d803 am: 5029a9c6b3 am: c0ab9a36ac am: e7d823bb48android-u-qpr3-beta-1-gplandroid-u-qpr2-beta-2-gpl
Original change: https://android-review.googlesource.com/c/platform/external/gptfdisk/+/2781737 Change-Id: Ia353770de2aece08db510eb09f746891be9263b0 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--sgdisk.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sgdisk.cc b/sgdisk.cc
index 1892e2d..bdd077b 100644
--- a/sgdisk.cc
+++ b/sgdisk.cc
@@ -58,6 +58,7 @@ static int android_dump(char* device) {
}
}
break;
+ case hybrid:
case gpt:
gptData.JustLooking();
if (!gptData.LoadPartitions((string) device)) {