summaryrefslogtreecommitdiff
path: root/sys/xfs/xfs_common-bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/xfs/xfs_common-bsd.c')
-rw-r--r--sys/xfs/xfs_common-bsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/xfs/xfs_common-bsd.c b/sys/xfs/xfs_common-bsd.c
index 454df61fbd7..b510805460a 100644
--- a/sys/xfs/xfs_common-bsd.c
+++ b/sys/xfs/xfs_common-bsd.c
@@ -57,7 +57,7 @@ xfs_alloc(u_int size, xfs_malloc_type type)
NNPFSDEB(XDEBMEM, ("xfs_alloc: xfs_allocs - xfs_frees %d\n",
xfs_allocs - xfs_frees));
- MALLOC(ret, void *, size, type, M_WAITOK);
+ ret = malloc(size, type, M_WAITOK);
return ret;
}
@@ -65,7 +65,7 @@ void
xfs_free(void *ptr, u_int size, xfs_malloc_type type)
{
xfs_frees++;
- FREE(ptr, type);
+ free(ptr, type);
}
#endif /* NNPFS_DEBUG */