summaryrefslogtreecommitdiffstats
path: root/fsck_unshare_blocks.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2018-12-20 00:26:20 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-12-20 00:26:20 +0100
commit26fee0f796c45c37fc88bfb442ef2817f760a1c8 (patch)
treee4a0f497cf05e1fbf39fd8970f8a7708545a4637 /fsck_unshare_blocks.cpp
parentMove parts of roots.cpp to libfs_mgr am: 0f339e27bb am: 6e232ed3ce (diff)
parentMerge changes from topic "vintf_object_recovery_mount" am: 82fc6ae5b8 (diff)
downloadandroid_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar
android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.gz
android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.bz2
android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.lz
android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.xz
android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.zst
android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.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) {