aboutsummaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-28 23:06:17 -0700
committerElliott Hughes <enh@google.com>2015-05-29 11:03:44 -0700
commitb5dabd25e1d04ce134837b49fbef889e511d4d35 (patch)
tree9eba9bfccd75ce69b24f397f5d8eb85ac235a37c /updater
parent92eea1bc414a7b6faedaf812c33ede17403fcaf7 (diff)
downloadbootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.zip
bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar.gz
bootable_recovery-b5dabd25e1d04ce134837b49fbef889e511d4d35.tar.bz2
Really don't use TEMP_FAILURE_RETRY with close in recovery.
I missed one last time. Bug: http://b/20501816 Change-Id: I9896ee2704237d61ee169f898680761e946e0a56 (cherry picked from commit b3ac676192a093c561b7f15064cbd67733407b12)
Diffstat (limited to 'updater')
-rw-r--r--updater/blockimg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index 0e2ba44..7b8721d 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) {