diff options
Diffstat (limited to 'sys/dev/pci/maestro.c')
-rw-r--r-- | sys/dev/pci/maestro.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/maestro.c b/sys/dev/pci/maestro.c index d8e1863a137..e7238de1900 100644 --- a/sys/dev/pci/maestro.c +++ b/sys/dev/pci/maestro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: maestro.c,v 1.21 2006/12/29 13:04:37 pedro Exp $ */ +/* $OpenBSD: maestro.c,v 1.22 2007/10/09 17:06:18 gilles Exp $ */ /* $FreeBSD: /c/ncvs/src/sys/dev/sound/pci/maestro.c,v 1.3 2000/11/21 12:22:11 julian Exp $ */ /* * FreeBSD's ESS Agogo/Maestro driver @@ -1824,7 +1824,7 @@ salloc_new(addr, size, nzones) struct salloc_zone *space; int i; - MALLOC(pool, salloc_t, sizeof *pool + nzones * sizeof pool->zones[0], + pool = malloc(sizeof *pool + nzones * sizeof pool->zones[0], M_TEMP, M_NOWAIT); if (pool == NULL) return NULL; @@ -1846,7 +1846,7 @@ void salloc_destroy(pool) salloc_t pool; { - FREE(pool, M_TEMP); + free(pool, M_TEMP); } void |