From 0c53203efe377196e2bf22290fed000c7ee38870 Mon Sep 17 00:00:00 2001 From: bigbiff Date: Sun, 21 Dec 2014 13:41:26 -0500 Subject: Fix else if and maxFileSize initializer. Change-Id: Iac7852a4fb2add5744d5ea424d6ad5a82828f102 --- partitionmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partitionmanager.cpp') diff --git a/partitionmanager.cpp b/partitionmanager.cpp index 72eb43dbf..003dcd1f3 100644 --- a/partitionmanager.cpp +++ b/partitionmanager.cpp @@ -1930,7 +1930,7 @@ bool TWPartitionManager::Enable_MTP(void) { twrpMtp *mtp = new twrpMtp(DataManager::GetIntValue("tw_mtp_debug")); for (iter = Partitions.begin(); iter != Partitions.end(); iter++) { if ((*iter)->Is_Storage && (*iter)->Is_Present && (*iter)->Mount(false)) { - printf("twrp addStorage %s, mtpstorageid: %u\n", (*iter)->Storage_Path.c_str(), (*iter)->MTP_Storage_ID); + printf("twrp addStorage %s, mtpstorageid: %u, maxFileSize: %lld\n", (*iter)->Storage_Path.c_str(), (*iter)->MTP_Storage_ID, (*iter)->Get_Max_FileSize()); mtp->addStorage((*iter)->Storage_Name, (*iter)->Storage_Path, (*iter)->MTP_Storage_ID, (*iter)->Get_Max_FileSize()); count++; } -- cgit v1.2.3