From 997abb668b9248c2174c6cf169a0b7c6a02fd2cb Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 15 May 2015 17:05:40 -0700 Subject: Don't use TEMP_FAILURE_RETRY on close in frameworks/native. Bug: http://b/20501816 Change-Id: Id13a62f02243c6c4831e2f47944dc34fa822f5b6 --- cmds/dumpstate/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmds/dumpstate/utils.c') 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"); -- cgit v1.2.3-59-g8ed1b