summaryrefslogtreecommitdiffstats
path: root/sys/fs/cd9660/cd9660_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/cd9660/cd9660_vfsops.c')
-rw-r--r--sys/fs/cd9660/cd9660_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/cd9660/cd9660_vfsops.c b/sys/fs/cd9660/cd9660_vfsops.c
index 138871d..737bf26 100644
--- a/sys/fs/cd9660/cd9660_vfsops.c
+++ b/sys/fs/cd9660/cd9660_vfsops.c
@@ -484,7 +484,7 @@ out:
PICKUP_GIANT();
}
if (isomp) {
- free((caddr_t)isomp, M_ISOFSMNT);
+ free(isomp, M_ISOFSMNT);
mp->mnt_data = NULL;
}
dev_rel(dev);
@@ -522,7 +522,7 @@ cd9660_unmount(mp, mntflags)
PICKUP_GIANT();
vrele(isomp->im_devvp);
dev_rel(isomp->im_dev);
- free((caddr_t)isomp, M_ISOFSMNT);
+ free(isomp, M_ISOFSMNT);
mp->mnt_data = NULL;
MNT_ILOCK(mp);
mp->mnt_flag &= ~MNT_LOCAL;
OpenPOWER on IntegriCloud