From fe149d5de35654b69cdda293497443f3d8c31654 Mon Sep 17 00:00:00 2001 From: Charles Longeau Date: Mon, 29 Oct 2007 15:39:02 +0000 Subject: MALLOC/FREE -> malloc/free ok krw@ --- sys/msdosfs/msdosfs_vnops.c | 5 ++--- 1 file 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; } -- cgit v1.2.3