summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaptain Throwback <captainthrowback@hotmail.com>2016-05-27 17:44:51 +0200
committerDees Troy <dees_troy@teamw.in>2016-08-04 17:39:51 +0200
commit9643a80b02ccc575817688db29f8b7357c7fb091 (patch)
treec679ffdf1fea0a1db2ccd4517c2391cb1f4c7ce6
parentRemove curtainClose() remnants (diff)
downloadandroid_bootable_recovery-9643a80b02ccc575817688db29f8b7357c7fb091.tar
android_bootable_recovery-9643a80b02ccc575817688db29f8b7357c7fb091.tar.gz
android_bootable_recovery-9643a80b02ccc575817688db29f8b7357c7fb091.tar.bz2
android_bootable_recovery-9643a80b02ccc575817688db29f8b7357c7fb091.tar.lz
android_bootable_recovery-9643a80b02ccc575817688db29f8b7357c7fb091.tar.xz
android_bootable_recovery-9643a80b02ccc575817688db29f8b7357c7fb091.tar.zst
android_bootable_recovery-9643a80b02ccc575817688db29f8b7357c7fb091.zip
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 96e30025e..eabc5d9e2 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1779,7 +1779,7 @@ int TWPartitionManager::Partition_SDCard(void) {
return false;
}
gui_msg(Msg("create_part=Creating {1} partition...")("FAT32"));
- Command = "sgdisk --new=0:0:" + fat_str + " --change-name=0:\"Microsoft basic data\" " + Device;
+ Command = "sgdisk --new=0:0:" + fat_str + " --change-name=0:\"Microsoft basic data\" --typecode=0:EBD0A0A2-B9E5-4433-87C0-68B6B72699C7 " + Device;
LOGINFO("Command is: '%s'\n", Command.c_str());
if (TWFunc::Exec_Cmd(Command) != 0) {
gui_msg(Msg(msg::kError, "unable_to_create_part=Unable to create {1} partition.")("FAT32"));