diff options
author | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-09 17:06:19 +0000 |
---|---|---|
committer | Gilles Chehade <gilles@cvs.openbsd.org> | 2007-10-09 17:06:19 +0000 |
commit | afa372e686eb8138537c13a18e6fd0abdc8e7d70 (patch) | |
tree | ceacbfd431a914c70749fe6fa0d7444fc377004c /sys/dev/isa | |
parent | d77b3f516b36f537c0e4c5626461f1b82f01f860 (diff) |
MALLOC -> malloc
ok krw@
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/aha.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c index dcfa5cd344a..06ae3f935bf 100644 --- a/sys/dev/isa/aha.c +++ b/sys/dev/isa/aha.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aha.c,v 1.57 2007/08/15 02:04:30 krw Exp $ */ +/* $OpenBSD: aha.c,v 1.58 2007/10/09 17:06:18 gilles Exp $ */ /* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */ #undef AHADIAG @@ -669,7 +669,7 @@ aha_get_ccb(sc, flags) break; } if (sc->sc_numccbs < AHA_CCB_MAX) { - MALLOC(ccb, struct aha_ccb *, sizeof *ccb, M_DEVBUF, + ccb = malloc(sizeof *ccb, M_DEVBUF, (flags & SCSI_NOSLEEP) ? M_NOWAIT : M_WAITOK); if (ccb == NULL) { printf("%s: can't malloc ccb\n", @@ -680,7 +680,7 @@ aha_get_ccb(sc, flags) sc->sc_numccbs++; break; } - FREE(ccb, M_DEVBUF); + free(ccb, M_DEVBUF); ccb = NULL; } if (flags & SCSI_NOSLEEP) |