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
diff --git a/roots.cpp b/roots.cpp
index 5ba53c2..6e5ef98 100644
--- a/roots.cpp
+++ b/roots.cpp
@@ -44,9 +44,9 @@
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;
}