diff --git a/system/fastboot/fastboot.c b/system/fastboot/fastboot.c index f216e07a5..1d29a9def 100644 --- a/system/fastboot/fastboot.c +++ b/system/fastboot/fastboot.c @@ -237,6 +237,7 @@ static void fastboot_flash_close(int fd) { if (fd >= 0) { + fsync(fd); close(fd); } }