summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2016-11-19 00:58:16 +0100
committerTao Bao <tbao@google.com>2016-11-19 01:00:23 +0100
commitfbde508ace399c977f5af9b495743e0960ac6a5c (patch)
treeb4e36afaeb5140ebc8dd7ff18ac7d685f8beae34
parentMerge "Revert "Convert update_verifier to boot HIDL HAL"" (diff)
downloadandroid_bootable_recovery-fbde508ace399c977f5af9b495743e0960ac6a5c.tar
android_bootable_recovery-fbde508ace399c977f5af9b495743e0960ac6a5c.tar.gz
android_bootable_recovery-fbde508ace399c977f5af9b495743e0960ac6a5c.tar.bz2
android_bootable_recovery-fbde508ace399c977f5af9b495743e0960ac6a5c.tar.lz
android_bootable_recovery-fbde508ace399c977f5af9b495743e0960ac6a5c.tar.xz
android_bootable_recovery-fbde508ace399c977f5af9b495743e0960ac6a5c.tar.zst
android_bootable_recovery-fbde508ace399c977f5af9b495743e0960ac6a5c.zip
-rw-r--r--bootloader_message/bootloader_message.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/bootloader_message/bootloader_message.cpp b/bootloader_message/bootloader_message.cpp
index 16e8df14f..f6f8005f6 100644
--- a/bootloader_message/bootloader_message.cpp
+++ b/bootloader_message/bootloader_message.cpp
@@ -128,7 +128,6 @@ static bool write_misc_partition(const void* p, size_t size, size_t offset, std:
strerror(errno));
return false;
}
-
// TODO: O_SYNC and fsync duplicates each other?
if (fsync(fd.get()) == -1) {
*err = android::base::StringPrintf("failed to fsync %s: %s", misc_blk_device.c_str(),