summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--partition.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/partition.cpp b/partition.cpp
index 3c82e2b5a..a9d50917f 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -38,10 +38,10 @@
#include "partitions.hpp"
#include "data.hpp"
#include "twrp-functions.hpp"
+#include "makelist.hpp"
extern "C" {
#include "mtdutils/mtdutils.h"
#include "mtdutils/mounts.h"
- #include "makelist.h"
#include "extra-functions.h"
}
@@ -103,6 +103,7 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) {
}
string mount_pt(full_line);
Mount_Point = mount_pt;
+ LOGI("Processing '%s'\n", mount_pt);
Backup_Path = Mount_Point;
index = Mount_Point.size();
while (index < line_len) {
@@ -1096,7 +1097,7 @@ bool TWPartition::Backup_Tar(string backup_folder) {
// This backup needs to be split into multiple archives
ui_print("Breaking backup file into multiple archives...\nGenerating file lists\n");
sprintf(back_name, "%s", Backup_Path.c_str());
- backup_count = make_file_list(back_name);
+ backup_count = MakeList::Make_File_List(back_name);
if (backup_count < 1) {
LOGE("Error generating file list!\n");
return false;