Don't use TEMP_FAILURE_RETRY on close in vold.

Bug: http://b/20501816
Change-Id: Ieecce9304539c250ed1728252b8c2c09d29afd7f
gugelfrei
Elliott Hughes 9 years ago
parent 74e6349d8e
commit a623108ef4

@ -328,7 +328,7 @@ status_t ReadRandomBytes(size_t bytes, std::string& out) {
out.append(buf, n);
bytes -= n;
}
TEMP_FAILURE_RETRY(close(fd));
close(fd);
if (bytes == 0) {
return OK;

Loading…
Cancel
Save