Fix Nick's nits

(cherry-pick of 97e487311b1cb780dfd3b0994917c72047d6188f.)

Change-Id: Ide7925e7ad328f0343d444d63ff72f1a26206d4c
This commit is contained in:
Paul Lawrence 2014-10-09 09:37:00 -07:00 committed by Elliott Hughes
parent 294e610f88
commit 88a12fb381

View file

@ -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;
}