Merge "Fix Nick's nits"

This commit is contained in:
Elliott Hughes 2014-12-10 03:38:56 +00:00 committed by Gerrit Code Review
commit a97c107554

View file

@ -412,7 +412,7 @@ int fs_mgr_setup_verity(struct fstab_rec *fstab) {
// get the device mapper fd // get the device mapper fd
if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) { if ((fd = open("/dev/device-mapper", O_RDWR)) < 0) {
ERROR("Error opening device mapper (%s)", strerror(errno)); ERROR("Error opening device mapper (%s)", strerror(errno));
goto out;; goto out;
} }
// create the device // create the device
@ -462,9 +462,9 @@ out:
close(fd); close(fd);
} }
free (verity_table); free(verity_table);
free (verity_table_signature); free(verity_table_signature);
free (verity_blk_name); free(verity_blk_name);
return retval; return retval;
} }