commit | 442727c6e81d60c25bdbee1dab361d3e273aebc7 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Jun 19 18:27:22 2020 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Jun 19 18:27:22 2020 +0000 |
tree | 2294b41ad9dc7da630b7b26daa790ca71bde6e5b | |
parent | e3421680c88cb9af44e4f63e1230069301ff3ad9 [diff] | |
parent | 1bdb61e5fac17af531c7f2755b29a6540901d38a [diff] |
Merge "Fix incorrect use of TEMP_FAILURE_RETRY"
diff --git a/identity/Util.cpp b/identity/Util.cpp index a962dc3..cd29017 100644 --- a/identity/Util.cpp +++ b/identity/Util.cpp
@@ -110,7 +110,7 @@ remaining -= numWritten; } - if (TEMP_FAILURE_RETRY(fsync(fd) == -1)) { + if (TEMP_FAILURE_RETRY(fsync(fd))) { PLOG(ERROR) << "Failed fsyncing temp file for '" << path << "'"; close(fd); return false;