summaryrefslogtreecommitdiffstats
path: root/sys/xfs/xfs_common-bsd.c
diff options
context:
space:
mode:
authorhshoexer <hshoexer@openbsd.org>2007-12-09 21:26:57 +0000
committerhshoexer <hshoexer@openbsd.org>2007-12-09 21:26:57 +0000
commite8821f89bda705c500e39acab76759b2bc5c911c (patch)
tree32fe1d72ba2fa364b35c2b8e33f31999e98dd7ee /sys/xfs/xfs_common-bsd.c
parentrecent sbc documents describe a more complete caching mode page. the recent (diff)
downloadwireguard-openbsd-e8821f89bda705c500e39acab76759b2bc5c911c.tar.xz
wireguard-openbsd-e8821f89bda705c500e39acab76759b2bc5c911c.zip
MALLOC/FREE -> malloc/free
ok gilles
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 */