summaryrefslogtreecommitdiffstats
path: root/bootloader_message
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-01-31 00:59:53 +0100
committerTom Cherry <tomcherry@google.com>2019-01-31 18:00:40 +0100
commit72a114a3e16c3dadfb10792b0b9d61d0fb421038 (patch)
tree6d6f3af85cfb41d60b688de9e0a9049b37b6f139 /bootloader_message
parentMerge "Fix potential size overflow in blockimg.cpp" (diff)
downloadandroid_bootable_recovery-72a114a3e16c3dadfb10792b0b9d61d0fb421038.tar
android_bootable_recovery-72a114a3e16c3dadfb10792b0b9d61d0fb421038.tar.gz
android_bootable_recovery-72a114a3e16c3dadfb10792b0b9d61d0fb421038.tar.bz2
android_bootable_recovery-72a114a3e16c3dadfb10792b0b9d61d0fb421038.tar.lz
android_bootable_recovery-72a114a3e16c3dadfb10792b0b9d61d0fb421038.tar.xz
android_bootable_recovery-72a114a3e16c3dadfb10792b0b9d61d0fb421038.tar.zst
android_bootable_recovery-72a114a3e16c3dadfb10792b0b9d61d0fb421038.zip
Diffstat (limited to 'bootloader_message')
-rw-r--r--bootloader_message/bootloader_message.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootloader_message/bootloader_message.cpp b/bootloader_message/bootloader_message.cpp
index b933cbf8e..8c1d63bdd 100644
--- a/bootloader_message/bootloader_message.cpp
+++ b/bootloader_message/bootloader_message.cpp
@@ -29,6 +29,9 @@
#include <android-base/unique_fd.h>
#include <fstab/fstab.h>
+using android::fs_mgr::Fstab;
+using android::fs_mgr::ReadDefaultFstab;
+
static std::string get_misc_blk_device(std::string* err) {
Fstab fstab;
if (!ReadDefaultFstab(&fstab)) {