summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-29 08:06:17 +0200
committerElliott Hughes <enh@google.com>2015-05-29 20:03:44 +0200
commitb5dabd25e1d04ce134837b49fbef889e511d4d35 (patch)
tree9eba9bfccd75ce69b24f397f5d8eb85ac235a37c
parentHandle BLKDISCARD failures (diff)
downloadandroid_bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar
android_bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar.gz
android_bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar.bz2
android_bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar.lz
android_bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar.xz
android_bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar.zst
android_bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.zip
Diffstat (limited to '')
-rw-r--r--updater/blockimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index 0e2ba4441..7b8721dbf 100644
--- a/updater/blockimg.c
+++ b/updater/blockimg.c
@@ -616,7 +616,7 @@ static int LoadStash(const char* base, const char* id, int verify, int* blocks,
lsout:
if (fd != -1) {
- TEMP_FAILURE_RETRY(close(fd));
+ close(fd);
}
if (fn) {