diff options
author | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-29 15:39:02 +0000 |
---|---|---|
committer | Charles Longeau <chl@cvs.openbsd.org> | 2007-10-29 15:39:02 +0000 |
commit | fe149d5de35654b69cdda293497443f3d8c31654 (patch) | |
tree | cf7130c530293070475ba439cca1739e6c3cc18d | |
parent | 400891aa229a9e5814fe31cc0e2182c2ee3eaa1a (diff) |
MALLOC/FREE -> malloc/free
ok krw@
-rw-r--r-- | sys/msdosfs/msdosfs_vnops.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/msdosfs/msdosfs_vnops.c b/sys/msdosfs/msdosfs_vnops.c index 27e3d9b2302..a530918c363 100644 --- a/sys/msdosfs/msdosfs_vnops.c +++ b/sys/msdosfs/msdosfs_vnops.c @@ -1,4 +1,4 @@ -/* $OpenBSD: msdosfs_vnops.c,v 1.64 2007/06/02 02:04:21 deraadt Exp $ */ +/* $OpenBSD: msdosfs_vnops.c,v 1.65 2007/10/29 15:39:01 chl Exp $ */ /* $NetBSD: msdosfs_vnops.c,v 1.63 1997/10/17 11:24:19 ws Exp $ */ /*- @@ -1430,8 +1430,7 @@ msdosfs_readdir(v) if (ap->a_ncookies) { ncookies = uio->uio_resid / sizeof(struct direntry) + 3; - MALLOC(cookies, u_long *, ncookies * sizeof(u_long), M_TEMP, - M_WAITOK); + cookies = malloc(ncookies * sizeof(u_long), M_TEMP, M_WAITOK); *ap->a_cookies = cookies; *ap->a_ncookies = ncookies; } |