diff options
author | Nathan Binkert <nate@cvs.openbsd.org> | 2000-08-19 14:25:16 +0000 |
---|---|---|
committer | Nathan Binkert <nate@cvs.openbsd.org> | 2000-08-19 14:25:16 +0000 |
commit | fb46c299c80fd5bc82fb368e0adaa1964395c3c9 (patch) | |
tree | cae861d6a9b33b6a1a32bbc0e02264852a20050a /sys/dev/ic/gdt_common.c | |
parent | 0b6f33c21cc38ed9d26eac726b28b09a50b144dc (diff) |
MALLOC/FREE -> malloc/free ok art@
Diffstat (limited to 'sys/dev/ic/gdt_common.c')
-rw-r--r-- | sys/dev/ic/gdt_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/gdt_common.c b/sys/dev/ic/gdt_common.c index 470a81f6e9e..d3ff2542dec 100644 --- a/sys/dev/ic/gdt_common.c +++ b/sys/dev/ic/gdt_common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gdt_common.c,v 1.7 2000/08/05 18:52:34 niklas Exp $ */ +/* $OpenBSD: gdt_common.c,v 1.8 2000/08/19 14:25:15 nate Exp $ */ /* * Copyright (c) 1999, 2000 Niklas Hallqvist. All rights reserved. @@ -371,8 +371,8 @@ gdt_attach(gdt) config_found(&gdt->sc_dev, &gdt->sc_link, scsiprint); - MALLOC(gdt->sc_raw_link, struct scsi_link *, - gdt->sc_bus_cnt * sizeof (struct scsi_link), M_DEVBUF, M_NOWAIT); + gdt->sc_raw_link = malloc(gdt->sc_bus_cnt * sizeof (struct scsi_link), + M_DEVBUF, M_NOWAIT); bzero(gdt->sc_raw_link, gdt->sc_bus_cnt * sizeof (struct scsi_link)); for (i = 0; i < gdt->sc_bus_cnt; i++) { |