summaryrefslogtreecommitdiffstats
path: root/install.cpp
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2018-12-19 23:34:41 +0100
committerandroid-build-merger <android-build-merger@google.com>2018-12-19 23:34:41 +0100
commit081c05f39576ec9d59eba7077b6f60caa0b85c64 (patch)
tree76db008013c3391d38836ec3b09fd8d5449e5cb9 /install.cpp
parentMove parts of roots.cpp to libfs_mgr am: 0f339e27bb (diff)
parentMerge changes from topic "vintf_object_recovery_mount" (diff)
downloadandroid_bootable_recovery-081c05f39576ec9d59eba7077b6f60caa0b85c64.tar
android_bootable_recovery-081c05f39576ec9d59eba7077b6f60caa0b85c64.tar.gz
android_bootable_recovery-081c05f39576ec9d59eba7077b6f60caa0b85c64.tar.bz2
android_bootable_recovery-081c05f39576ec9d59eba7077b6f60caa0b85c64.tar.lz
android_bootable_recovery-081c05f39576ec9d59eba7077b6f60caa0b85c64.tar.xz
android_bootable_recovery-081c05f39576ec9d59eba7077b6f60caa0b85c64.tar.zst
android_bootable_recovery-081c05f39576ec9d59eba7077b6f60caa0b85c64.zip
Diffstat (limited to '')
-rw-r--r--install.cpp4
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);
}
}