summaryrefslogtreecommitdiffstats
path: root/minzip/Zip.c
diff options
context:
space:
mode:
authorAlistair Strachan <alistair.strachan@imgtec.com>2016-05-06 01:04:32 +0200
committerAlistair Strachan <alistair.strachan@imgtec.com>2016-05-06 01:04:58 +0200
commit733285fea265af4fc91cf37916fada1a66cec470 (patch)
treeb8ffdee0dae6d2e577436533e59bf00eed021d63 /minzip/Zip.c
parentMerge "recovery: Always log the update attempt." (diff)
downloadandroid_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.gz
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.bz2
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.lz
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.xz
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.tar.zst
android_bootable_recovery-733285fea265af4fc91cf37916fada1a66cec470.zip
Diffstat (limited to 'minzip/Zip.c')
-rw-r--r--minzip/Zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/minzip/Zip.c b/minzip/Zip.c
index 9f550f8b4..d557daa7f 100644
--- a/minzip/Zip.c
+++ b/minzip/Zip.c
@@ -968,7 +968,7 @@ bool mzExtractRecursive(const ZipArchive *pArchive,
setfscreatecon(secontext);
}
- int fd = open(targetFile, O_CREAT|O_WRONLY|O_TRUNC|O_SYNC,
+ int fd = open(targetFile, O_CREAT|O_WRONLY|O_TRUNC,
UNZIP_FILEMODE);
if (secontext) {