summaryrefslogtreecommitdiffstats
path: root/fs_mgr
diff options
context:
space:
mode:
authorPaul Lawrence <paullawrence@google.com>2014-10-09 09:37:00 -0700
committerElliott Hughes <enh@google.com>2014-12-09 19:38:23 -0800
commit88a12fb381875639e5c381b333bcfeaf83b1efbf (patch)
tree8db6fc64a1d7aade61940fb7035f757994b485fd /fs_mgr
parent294e610f886eeb839d16172bb5b98559a6a7434d (diff)
downloadsystem_core-88a12fb381875639e5c381b333bcfeaf83b1efbf.zip
system_core-88a12fb381875639e5c381b333bcfeaf83b1efbf.tar.gz
system_core-88a12fb381875639e5c381b333bcfeaf83b1efbf.tar.bz2
Fix Nick's nits
(cherry-pick of 97e487311b1cb780dfd3b0994917c72047d6188f.) Change-Id: Ide7925e7ad328f0343d444d63ff72f1a26206d4c
Diffstat (limited to 'fs_mgr')
-rw-r--r--fs_mgr/fs_mgr_verity.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs_mgr/fs_mgr_verity.c b/fs_mgr/fs_mgr_verity.c
index 5899758..ef7cf6e 100644
--- a/fs_mgr/fs_mgr_verity.c
+++ b/fs_mgr/fs_mgr_verity.c
@@ -412,7 +412,7 @@ int fs_mgr_setup_verity(struct fstab_rec *fstab) {
// get the device mapper fd
if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) {
ERROR("Error opening device mapper (%s)", strerror(errno));
- goto out;;
+ goto out;
}
// create the device
@@ -462,9 +462,9 @@ out:
close(fd);
}
- free (verity_table);
- free (verity_table_signature);
- free (verity_blk_name);
+ free(verity_table);
+ free(verity_table_signature);
+ free(verity_blk_name);
return retval;
}