summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-01-10 16:43:00 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-10 16:43:00 +0100
commitc8bafa1cc16f32014a819c3614d222066f7e7555 (patch)
tree4aba1faa6e6acce3ac8763c9c753129367c95e42 /partitionmanager.cpp
parentIncrease char array sizes to allow for null char for strcpy (diff)
downloadandroid_bootable_recovery-c8bafa1cc16f32014a819c3614d222066f7e7555.tar
android_bootable_recovery-c8bafa1cc16f32014a819c3614d222066f7e7555.tar.gz
android_bootable_recovery-c8bafa1cc16f32014a819c3614d222066f7e7555.tar.bz2
android_bootable_recovery-c8bafa1cc16f32014a819c3614d222066f7e7555.tar.lz
android_bootable_recovery-c8bafa1cc16f32014a819c3614d222066f7e7555.tar.xz
android_bootable_recovery-c8bafa1cc16f32014a819c3614d222066f7e7555.tar.zst
android_bootable_recovery-c8bafa1cc16f32014a819c3614d222066f7e7555.zip
Diffstat (limited to '')
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index ab73a1110..e752a129c 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1635,7 +1635,7 @@ int TWPartitionManager::Decrypt_Device(string Password) {
property_get("ro.crypto.sd_fs_crypto_blkdev", crypto_blkdev_sd, "error");
if (strcmp(crypto_blkdev_sd, "error") == 0) {
LOGE("Error retrieving decrypted data block device.\n");
- } else if(TWPartition* emmc = Find_Partition_By_Path(TW_INTERNAL_STORAGE_PATH)){
+ } else if(TWPartition* emmc = Find_Partition_By_Path(EXPAND(TW_INTERNAL_STORAGE_PATH))){
emmc->Is_Decrypted = true;
emmc->Decrypted_Block_Device = crypto_blkdev_sd;
emmc->Setup_File_System(false);