summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-01-17 02:39:28 +0100
committerDees_Troy <dees_troy@teamw.in>2013-01-17 16:53:49 +0100
commitdc8bc1b28a78fb7371a7aee9ceabf4743b976e10 (patch)
tree6f520c772d9eb96e8a09425a388d94ecf5ea7f6d /partition.cpp
parentFix problems with thread creation on some devices (diff)
downloadandroid_bootable_recovery-dc8bc1b28a78fb7371a7aee9ceabf4743b976e10.tar
android_bootable_recovery-dc8bc1b28a78fb7371a7aee9ceabf4743b976e10.tar.gz
android_bootable_recovery-dc8bc1b28a78fb7371a7aee9ceabf4743b976e10.tar.bz2
android_bootable_recovery-dc8bc1b28a78fb7371a7aee9ceabf4743b976e10.tar.lz
android_bootable_recovery-dc8bc1b28a78fb7371a7aee9ceabf4743b976e10.tar.xz
android_bootable_recovery-dc8bc1b28a78fb7371a7aee9ceabf4743b976e10.tar.zst
android_bootable_recovery-dc8bc1b28a78fb7371a7aee9ceabf4743b976e10.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/partition.cpp b/partition.cpp
index 9122596f3..b611e2499 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -725,7 +725,9 @@ bool TWPartition::Mount(bool Display_Error) {
Update_Size(Display_Error);
if (!Symlink_Mount_Point.empty()) {
- mount(Symlink_Path.c_str(), Symlink_Mount_Point.c_str(), Fstab_File_System.c_str(), NULL, NULL);
+ string Command, Result;
+ Command = "mount '" + Symlink_Path + "' '" + Symlink_Mount_Point + "'";
+ TWFunc::Exec_Cmd(Command, Result);
}
return true;
}