summaryrefslogtreecommitdiffstats
path: root/bmlutils/bmlutils.c
diff options
context:
space:
mode:
authorDan Pasanen <dan.pasanen@gmail.com>2015-11-11 17:07:42 +0100
committerDees Troy <dees_troy@teamw.in>2015-11-26 05:23:44 +0100
commit8abeee19a31a5bed5c57d5ebca3204ea248ebcf0 (patch)
treeba11ea69dca1865fae50b936c05ce4cfcf6952af /bmlutils/bmlutils.c
parentFix broken fsflags support (diff)
downloadandroid_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 '')
-rw-r--r--bmlutils/bmlutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bmlutils/bmlutils.c b/bmlutils/bmlutils.c
index 4c7c49d03..7875f6faf 100644
--- a/bmlutils/bmlutils.c
+++ b/bmlutils/bmlutils.c
@@ -134,7 +134,7 @@ int cmd_bml_backup_raw_partition(const char *partition, const char *out_file)
}
}
- fsync(out);
+ fsync(fileno(out));
ret = 0;
ERROR1:
fclose ( out );