diff options
author | Elliott Hughes <enh@google.com> | 2015-05-16 03:30:28 +0200 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2015-05-16 03:30:28 +0200 |
commit | 0b1e527a804b8593d352e00738ed57dafd4b3f45 (patch) | |
tree | 2b828269e9cfd9bd6dba137bd5fe72529f8ca175 /updater | |
parent | am 5bb8d551: am 3badd563: Merge "init sets the default PATH itself, better." (diff) | |
parent | am cd7d9d83: Merge "Don\'t use TEMP_FAILURE_RETRY on close in recovery." (diff) | |
download | android_bootable_recovery-0b1e527a804b8593d352e00738ed57dafd4b3f45.tar android_bootable_recovery-0b1e527a804b8593d352e00738ed57dafd4b3f45.tar.gz android_bootable_recovery-0b1e527a804b8593d352e00738ed57dafd4b3f45.tar.bz2 android_bootable_recovery-0b1e527a804b8593d352e00738ed57dafd4b3f45.tar.lz android_bootable_recovery-0b1e527a804b8593d352e00738ed57dafd4b3f45.tar.xz android_bootable_recovery-0b1e527a804b8593d352e00738ed57dafd4b3f45.tar.zst android_bootable_recovery-0b1e527a804b8593d352e00738ed57dafd4b3f45.zip |
Diffstat (limited to 'updater')
-rw-r--r-- | updater/blockimg.c | 4 |
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) { |