diff options
author | Elliott Hughes <enh@google.com> | 2015-05-15 17:20:47 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-05-15 18:11:26 -0700 |
commit | 1865679fda9bd1e12bc583268537bccc4e4a43bc (patch) | |
tree | 3a919c02a8a4187b9e5e5e35041c9a771b6742f8 | |
parent | c152bb4981f9fdd47ad5bab582b27cc103134461 (diff) | |
download | extras-1865679fda9bd1e12bc583268537bccc4e4a43bc.tar.gz |
Don't use TEMP_FAILURE_RETRY with close in system/extras.
Bug: http://b/20501816
Change-Id: I32123049314a30a255fdf1a76a0e00bd35ac8801
(cherry picked from commit 454b989922c7fb8e1411d06ee26ad7c4e6bc2abe)
-rw-r--r-- | squashfs_utils/squashfs_utils.c | 2 |
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; } |