diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-29 17:09:16 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-29 17:09:16 +0000 |
commit | cc41cc1a812ba56ef9ddd93d58686d75a72e7d01 (patch) | |
tree | 926f85a222c91ee939ce4ea7d432bf7f1ec3adef /sys | |
parent | b57027c2da29afd8871495930d2dd49758b7af4b (diff) |
MALLOC/FREE -> malloc/free
ok krw@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/xfs/xfs_vnodeops-bsd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/xfs/xfs_vnodeops-bsd.c b/sys/xfs/xfs_vnodeops-bsd.c index 1a0db79e8bf..ed74d6d478d 100644 --- a/sys/xfs/xfs_vnodeops-bsd.c +++ b/sys/xfs/xfs_vnodeops-bsd.c @@ -595,8 +595,7 @@ xfs_readdir(struct vop_readdir_args * ap) ncookies++; } - MALLOC(cookies, xfs_cookie_t *, ncookies * sizeof(xfs_cookie_t), - M_TEMP, M_WAITOK); + cookies = malloc(ncookies * sizeof(xfs_cookie_t), M_TEMP, M_WAITOK); for (dp = dp_start, cookiep = cookies; dp < dp_end; dp = (const struct dirent *)((const char *) dp + dp->d_reclen)) { |