summaryrefslogtreecommitdiff
path: root/squashfs_utils
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-05-15 17:20:47 -0700
committerElliott Hughes <enh@google.com>2015-05-15 17:20:47 -0700
commit454b989922c7fb8e1411d06ee26ad7c4e6bc2abe (patch)
tree9b5d749b4a6125cb26cb5d517eecd08585ccdd00 /squashfs_utils
parent3bf60ccddd49d06e39a840a0f3c4506dedffaa59 (diff)
downloadextras-454b989922c7fb8e1411d06ee26ad7c4e6bc2abe.tar.gz
Don't use TEMP_FAILURE_RETRY with close in system/extras.
Bug: http://b/20501816 Change-Id: I32123049314a30a255fdf1a76a0e00bd35ac8801
Diffstat (limited to 'squashfs_utils')
-rw-r--r--squashfs_utils/squashfs_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfs_utils/squashfs_utils.c b/squashfs_utils/squashfs_utils.c
index 128a3ef8..61891895 100644
--- a/squashfs_utils/squashfs_utils.c
+++ b/squashfs_utils/squashfs_utils.c
@@ -58,6 +58,6 @@ int squashfs_parse_sb(char *blk_device, struct squashfs_info *info) {
sb.bytes_used + (4096 - (sb.bytes_used & (4096 - 1)));
cleanup:
- TEMP_FAILURE_RETRY(close(data_device));
+ close(data_device);
return ret;
}