summaryrefslogtreecommitdiffstats
path: root/sys/fs/hpfs/hpfs_vfsops.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/hpfs/hpfs_vfsops.c')
-rw-r--r--sys/fs/hpfs/hpfs_vfsops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/fs/hpfs/hpfs_vfsops.c b/sys/fs/hpfs/hpfs_vfsops.c
index 02b5ea4..36d3dd5 100644
--- a/sys/fs/hpfs/hpfs_vfsops.c
+++ b/sys/fs/hpfs/hpfs_vfsops.c
@@ -371,7 +371,7 @@ hpfs_unmount(
MNT_ILOCK(mp);
mp->mnt_flag &= ~MNT_LOCAL;
MNT_IUNLOCK(mp);
- FREE(hpmp, M_HPFSMNT);
+ free(hpmp, M_HPFSMNT);
return (0);
}
@@ -476,13 +476,13 @@ hpfs_vget(
* at that time is little, and anyway - we'll
* check for it).
*/
- MALLOC(hp, struct hpfsnode *, sizeof(struct hpfsnode),
+ hp = malloc(sizeof(struct hpfsnode),
M_HPFSNO, M_WAITOK);
error = getnewvnode("hpfs", mp, &hpfs_vnodeops, &vp);
if (error) {
printf("hpfs_vget: can't get new vnode\n");
- FREE(hp, M_HPFSNO);
+ free(hp, M_HPFSNO);
return (error);
}
OpenPOWER on IntegriCloud