aboutsummaryrefslogtreecommitdiffstats
path: root/roots.cpp
diff options
context:
space:
mode:
authorBowgo Tsai <bowgotsai@google.com>2017-03-29 15:13:58 +0800
committerBowgo Tsai <bowgotsai@google.com>2017-03-29 16:31:29 +0800
commit84a06485a94f6d2bfe78dbe8b69c517e542a0ce9 (patch)
tree0e33fd2f59b6db20e6abf3607df30448c0aeebb5 /roots.cpp
parent850f89f19838e6c0cf3643c42420046d96789a27 (diff)
downloadandroid_bootable_recovery-84a06485a94f6d2bfe78dbe8b69c517e542a0ce9.tar.gz
android_bootable_recovery-84a06485a94f6d2bfe78dbe8b69c517e542a0ce9.tar.bz2
android_bootable_recovery-84a06485a94f6d2bfe78dbe8b69c517e542a0ce9.zip
recovery: switch to fs_mgr_read_fstab_default()
fs_mgr_read_fstab_default() is now aware of recovery mode so it's ok to switch to this new API. Bug: 35811655 Test: recovery boot sailfish Change-Id: I1025b606fd96e74a893ae99cefc1da01e4b27a23
Diffstat (limited to 'roots.cpp')
-rw-r--r--roots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/roots.cpp b/roots.cpp
index 5ba53c24..6e5ef981 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -44,9 +44,9 @@ void load_volume_table()
int i;
int ret;
- fstab = fs_mgr_read_fstab_with_dt("/etc/recovery.fstab");
+ fstab = fs_mgr_read_fstab_default();
if (!fstab) {
- LOG(ERROR) << "failed to read /etc/recovery.fstab";
+ LOG(ERROR) << "failed to read default fstab";
return;
}