summaryrefslogtreecommitdiffstats
path: root/fsck_unshare_blocks.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-12-23 05:05:33 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-12-23 05:05:33 +0100
commit62227b544593de0dc079012f7436e24241065bd9 (patch)
treee6e5f3752c7618eab6de1a3f85f3a709c6fd2e95 /fsck_unshare_blocks.cpp
parentSnap for 5189750 from faf656f3a798495dafe9c60ec219835b7f78cf8b to qt-release (diff)
parentMerge "Add a horizontal line at the end of the graphic menu" am: fc0665c701 am: 095b6858dd (diff)
downloadandroid_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.gz
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.bz2
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.lz
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.xz
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.zst
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.zip
Diffstat (limited to 'fsck_unshare_blocks.cpp')
-rw-r--r--fsck_unshare_blocks.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsck_unshare_blocks.cpp b/fsck_unshare_blocks.cpp
index acc453cd7..ce6940a6b 100644
--- a/fsck_unshare_blocks.cpp
+++ b/fsck_unshare_blocks.cpp
@@ -121,7 +121,7 @@ bool do_fsck_unshare_blocks() {
// Temporarily mount system so we can copy e2fsck_static.
std::string system_root = get_system_root();
- bool mounted = ensure_path_mounted_at(system_root.c_str(), "/mnt/system") != -1;
+ bool mounted = ensure_path_mounted_at(system_root, "/mnt/system") != -1;
partitions.push_back(system_root);
if (!mounted) {