diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2007-12-09 21:28:54 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2007-12-09 21:28:54 +0000 |
commit | c072b4809508dc0b52042f01d6a9cff492aa450f (patch) | |
tree | abcbe8b25b85970132910d84e74f0f5c89f24754 /sys/ntfs/ntfs_vnops.c | |
parent | 2c8a7db7516e97c372f1913c57fb31ed42dd6368 (diff) |
MALLOC/FREE -> malloc/free
ok gilles
Diffstat (limited to 'sys/ntfs/ntfs_vnops.c')
-rw-r--r-- | sys/ntfs/ntfs_vnops.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/ntfs/ntfs_vnops.c b/sys/ntfs/ntfs_vnops.c index 8f3439c40e3..b84aaf5e51e 100644 --- a/sys/ntfs/ntfs_vnops.c +++ b/sys/ntfs/ntfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntfs_vnops.c,v 1.11 2007/06/01 23:52:38 deraadt Exp $ */ +/* $OpenBSD: ntfs_vnops.c,v 1.12 2007/12/09 21:28:53 hshoexer Exp $ */ /* $NetBSD: ntfs_vnops.c,v 1.6 2003/04/10 21:57:26 jdolecek Exp $ */ /* @@ -559,7 +559,7 @@ ntfs_readdir(ap) off = uio->uio_offset; - MALLOC(cde, struct dirent *, sizeof(struct dirent), M_TEMP, M_WAITOK); + cde = malloc(sizeof(struct dirent), M_TEMP, M_WAITOK); /* Simulate . in every dir except ROOT */ if (ip->i_number != NTFS_ROOTINO @@ -686,7 +686,7 @@ ntfs_readdir(ap) *ap->a_eofflag = VTONT(ap->a_vp)->i_size <= uio->uio_offset; */ out: - FREE(cde, M_TEMP); + free(cde, M_TEMP); return (error); } |