summaryrefslogtreecommitdiffstats
path: root/sys/pccard/pccard.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pccard/pccard.c')
-rw-r--r--sys/pccard/pccard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pccard/pccard.c b/sys/pccard/pccard.c
index 17e8e9b..1baabf4 100644
--- a/sys/pccard/pccard.c
+++ b/sys/pccard/pccard.c
@@ -214,7 +214,7 @@ allocate_driver(struct slot *slt, struct dev_desc *desc)
}
irq = ffs(desc->irqmask) - 1;
MALLOC(devi, struct pccard_devinfo *, sizeof(*devi), M_DEVBUF,
- M_ZERO);
+ M_WAITOK | M_ZERO);
strcpy(devi->name, desc->name);
/*
* Create an entry for the device under this slot.
OpenPOWER on IntegriCloud