summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.c
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2015-05-16 00:43:19 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-05-16 00:43:19 +0000
commit9ca6d078e4b22a65e37c4c724e3b5cb1fcca16a3 (patch)
tree9520326d645a7b7dad3b2c16d7df5da8ac358658 /cmds/dumpstate/utils.c
parent1685750e5d6766a00bbf05c1e514412615e3402f (diff)
parentb8e6cb08ebcf7b55fd8d94f3ecf29f73a7886fa8 (diff)
am b8e6cb08: am e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native."
* commit 'b8e6cb08ebcf7b55fd8d94f3ecf29f73a7886fa8': Don't use TEMP_FAILURE_RETRY on close in frameworks/native.
Diffstat (limited to 'cmds/dumpstate/utils.c')
-rw-r--r--cmds/dumpstate/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/utils.c b/cmds/dumpstate/utils.c
index 5801de1916..d679787966 100644
--- a/cmds/dumpstate/utils.c
+++ b/cmds/dumpstate/utils.c
@@ -290,7 +290,7 @@ static int _dump_file_from_fd(const char *title, const char *path, int fd) {
}
}
}
- TEMP_FAILURE_RETRY(close(fd));
+ close(fd);
if (!newline) printf("\n");
if (title) printf("\n");