Searched refs:misc_blk_device (Results 1 – 1 of 1) sorted by relevance
62 std::string misc_blk_device = get_misc_blk_device(err); in write_bootloader_message() local63 if (misc_blk_device.empty()) { in write_bootloader_message()66 android::base::unique_fd fd(open(misc_blk_device.c_str(), O_WRONLY | O_SYNC)); in write_bootloader_message()68 *err = android::base::StringPrintf("failed to open %s: %s", misc_blk_device.c_str(), in write_bootloader_message()73 *err = android::base::StringPrintf("failed to write %s: %s", misc_blk_device.c_str(), in write_bootloader_message()79 *err = android::base::StringPrintf("failed to fsync %s: %s", misc_blk_device.c_str(), in write_bootloader_message()