summaryrefslogtreecommitdiffstats
path: root/updater
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-16 01:19:20 +0200
committerElliott Hughes <enh@google.com>2015-05-16 03:09:33 +0200
commit1857a7f57929a3bb4c831199b702059b259b0e3e (patch)
tree267079724d435db3fe1d97d61fd56a29511af0c1 /updater
parentAdd an alternate screen for viewing recovery logs. (diff)
downloadandroid_bootable_recovery-1857a7f57929a3bb4c831199b702059b259b0e3e.tar
android_bootable_recovery-1857a7f57929a3bb4c831199b702059b259b0e3e.tar.gz
android_bootable_recovery-1857a7f57929a3bb4c831199b702059b259b0e3e.tar.bz2
android_bootable_recovery-1857a7f57929a3bb4c831199b702059b259b0e3e.tar.lz
android_bootable_recovery-1857a7f57929a3bb4c831199b702059b259b0e3e.tar.xz
android_bootable_recovery-1857a7f57929a3bb4c831199b702059b259b0e3e.tar.zst
android_bootable_recovery-1857a7f57929a3bb4c831199b702059b259b0e3e.zip
Diffstat (limited to '')
-rw-r--r--updater/blockimg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index 532e7b845..a0e9aec6a 100644
--- a/updater/blockimg.c
+++ b/updater/blockimg.c
@@ -694,7 +694,7 @@ static int WriteStash(const char* base, const char* id, int blocks, uint8_t* buf
wsout:
if (fd != -1) {
- TEMP_FAILURE_RETRY(close(fd));
+ close(fd);
}
if (fn) {
@@ -1732,7 +1732,7 @@ pbiudone:
if (fsync(params.fd) == -1) {
fprintf(stderr, "fsync failed: %s\n", strerror(errno));
}
- TEMP_FAILURE_RETRY(close(params.fd));
+ close(params.fd);
}
if (logcmd) {