summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--updater/blockimg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/updater/blockimg.c b/updater/blockimg.c
index a98cdcccf..ce6360099 100644
--- a/updater/blockimg.c
+++ b/updater/blockimg.c
@@ -755,7 +755,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) {
@@ -1793,7 +1793,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) {