summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authordianlujitao <dianlujitao@gmail.com>2016-01-02 05:15:50 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-01-04 14:39:49 +0100
commit7d304c71f8695f5541833893e2581816128abd27 (patch)
treece63345862f4eec4f90b417223d5964f50a83b95 /partitionmanager.cpp
parentpartitions.hpp: some formatting (diff)
downloadandroid_bootable_recovery-7d304c71f8695f5541833893e2581816128abd27.tar
android_bootable_recovery-7d304c71f8695f5541833893e2581816128abd27.tar.gz
android_bootable_recovery-7d304c71f8695f5541833893e2581816128abd27.tar.bz2
android_bootable_recovery-7d304c71f8695f5541833893e2581816128abd27.tar.lz
android_bootable_recovery-7d304c71f8695f5541833893e2581816128abd27.tar.xz
android_bootable_recovery-7d304c71f8695f5541833893e2581816128abd27.tar.zst
android_bootable_recovery-7d304c71f8695f5541833893e2581816128abd27.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 5194be804..c1cd29f22 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -183,7 +183,7 @@ int TWPartitionManager::Write_Fstab(void) {
}
for (iter = Partitions.begin(); iter != Partitions.end(); iter++) {
if ((*iter)->Can_Be_Mounted) {
- Line = (*iter)->Actual_Block_Device + " " + (*iter)->Mount_Point + " " + (*iter)->Current_File_System + " rw\n";
+ Line = (*iter)->Actual_Block_Device + " " + (*iter)->Mount_Point + " " + (*iter)->Current_File_System + " rw 0 0\n";
fputs(Line.c_str(), fp);
}
// Handle subpartition tracking