summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKetut Putu Kumajaya <ketut.kumajaya@gmail.com>2015-08-10 16:40:55 +0200
committerDees Troy <dees_troy@teamw.in>2015-11-26 05:16:52 +0100
commitbfb72b062a8e6e8bf83f9584101ceb092cf9d60d (patch)
tree0494c6dae3a538c5560e1162458cb9f9dfaa60ad
parentFix mkdosfs 2GB barrier (diff)
downloadandroid_bootable_recovery-bfb72b062a8e6e8bf83f9584101ceb092cf9d60d.tar
android_bootable_recovery-bfb72b062a8e6e8bf83f9584101ceb092cf9d60d.tar.gz
android_bootable_recovery-bfb72b062a8e6e8bf83f9584101ceb092cf9d60d.tar.bz2
android_bootable_recovery-bfb72b062a8e6e8bf83f9584101ceb092cf9d60d.tar.lz
android_bootable_recovery-bfb72b062a8e6e8bf83f9584101ceb092cf9d60d.tar.xz
android_bootable_recovery-bfb72b062a8e6e8bf83f9584101ceb092cf9d60d.tar.zst
android_bootable_recovery-bfb72b062a8e6e8bf83f9584101ceb092cf9d60d.zip
Diffstat (limited to '')
-rw-r--r--partition.cpp2
-rw-r--r--partitions.hpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/partition.cpp b/partition.cpp
index 918ba3ce0..f6adec9da 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -418,7 +418,7 @@ bool TWPartition::Process_Fstab_Line(string Line, bool Display_Error) {
return true;
}
-bool TWPartition::Process_FS_Flags(string& Options, int Flags) {
+bool TWPartition::Process_FS_Flags(string& Options, int& Flags) {
int i;
char *p;
char *savep;
diff --git a/partitions.hpp b/partitions.hpp
index 4b6d37160..f9832ad6d 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -92,7 +92,7 @@ private:
void Find_Actual_Block_Device(); // Determines the correct block device and stores it in Actual_Block_Device
bool Process_Flags(string Flags, bool Display_Error); // Process custom fstab flags
- bool Process_FS_Flags(string& Options, int Flags); // Process standard fstab fs flags
+ bool Process_FS_Flags(string& Options, int& Flags); // Process standard fstab fs flags
bool Is_File_System(string File_System); // Checks to see if the file system given is considered a file system
bool Is_Image(string File_System); // Checks to see if the file system given is considered an image
void Setup_File_System(bool Display_Error); // Sets defaults for a file system partition