summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.c
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2015-05-16 00:35:35 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-05-16 00:35:35 +0000
commitb8e6cb08ebcf7b55fd8d94f3ecf29f73a7886fa8 (patch)
treeae4be5525cdb1dae3f05422b1b0f59e1235cfad3 /cmds/dumpstate/utils.c
parent81103f128d651d705c90b3ab9fe55bff674320ef (diff)
parente814b43c581b16e144328c405a003ffece9ebf4d (diff)
am e814b43c: Merge "Don\'t use TEMP_FAILURE_RETRY on close in frameworks/native."
* commit 'e814b43c581b16e144328c405a003ffece9ebf4d': 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 4fc23aa3c7..44ba025ca0 100644
--- a/cmds/dumpstate/utils.c
+++ b/cmds/dumpstate/utils.c
@@ -306,7 +306,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");