diff options
author | Dan Pasanen <dan.pasanen@gmail.com> | 2015-11-11 17:07:42 +0100 |
---|---|---|
committer | Dees Troy <dees_troy@teamw.in> | 2015-11-26 05:23:44 +0100 |
commit | 8abeee19a31a5bed5c57d5ebca3204ea248ebcf0 (patch) | |
tree | ba11ea69dca1865fae50b936c05ce4cfcf6952af /mmcutils | |
parent | Fix broken fsflags support (diff) | |
download | android_bootable_recovery-8abeee19a31a5bed5c57d5ebca3204ea248ebcf0.tar android_bootable_recovery-8abeee19a31a5bed5c57d5ebca3204ea248ebcf0.tar.gz android_bootable_recovery-8abeee19a31a5bed5c57d5ebca3204ea248ebcf0.tar.bz2 android_bootable_recovery-8abeee19a31a5bed5c57d5ebca3204ea248ebcf0.tar.lz android_bootable_recovery-8abeee19a31a5bed5c57d5ebca3204ea248ebcf0.tar.xz android_bootable_recovery-8abeee19a31a5bed5c57d5ebca3204ea248ebcf0.tar.zst android_bootable_recovery-8abeee19a31a5bed5c57d5ebca3204ea248ebcf0.zip |
Diffstat (limited to 'mmcutils')
-rw-r--r-- | mmcutils/mmcutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mmcutils/mmcutils.c b/mmcutils/mmcutils.c index f9c7b702a..6d976b5ad 100644 --- a/mmcutils/mmcutils.c +++ b/mmcutils/mmcutils.c @@ -458,7 +458,7 @@ mmc_raw_copy (const MmcPartition *partition, char *in_file) { } } - fsync(out); + fsync(fileno(out)); ret = 0; ERROR1: fclose ( out ); @@ -509,7 +509,7 @@ mmc_raw_dump_internal (const char* in_file, const char *out_file) { } } - fsync(out); + fsync(fileno(out)); ret = 0; ERROR1: fclose ( out ); |