diff options
author | Yifan Hong <elsk@google.com> | 2018-12-20 00:26:20 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-20 00:26:20 +0100 |
commit | 26fee0f796c45c37fc88bfb442ef2817f760a1c8 (patch) | |
tree | e4a0f497cf05e1fbf39fd8970f8a7708545a4637 /install.cpp | |
parent | Move parts of roots.cpp to libfs_mgr am: 0f339e27bb am: 6e232ed3ce (diff) | |
parent | Merge changes from topic "vintf_object_recovery_mount" am: 82fc6ae5b8 (diff) | |
download | android_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 'install.cpp')
-rw-r--r-- | install.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/install.cpp b/install.cpp index 680937dd1..ce3d4f6ad 100644 --- a/install.cpp +++ b/install.cpp @@ -595,9 +595,9 @@ static int really_install_package(const std::string& path, bool* wipe_cache, boo if (needs_mount) { if (path[0] == '@') { - ensure_path_mounted(path.substr(1).c_str()); + ensure_path_mounted(path.substr(1)); } else { - ensure_path_mounted(path.c_str()); + ensure_path_mounted(path); } } |