summaryrefslogtreecommitdiffstats
path: root/sys/dev/firewire/sbp.c
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-01-17 15:15:21 +0000
committersimokawa <simokawa@FreeBSD.org>2003-01-17 15:15:21 +0000
commit5dc188b5c129034934bb9a472f6138e8b2ce95e3 (patch)
tree1430272046e099c6300b2c70ec0b9ca93da50ea6 /sys/dev/firewire/sbp.c
parent48e65aa18811d4db5a1ae3a94b6cc3edb56d0bab (diff)
downloadFreeBSD-src-5dc188b5c129034934bb9a472f6138e8b2ce95e3.zip
FreeBSD-src-5dc188b5c129034934bb9a472f6138e8b2ce95e3.tar.gz
Replace M_DONTWAIT with M_NOWAIT for malloc().
Pointed out by: nate@root.org
Diffstat (limited to 'sys/dev/firewire/sbp.c')
-rw-r--r--sys/dev/firewire/sbp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index 41aeaab..a8ed494 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -1597,7 +1597,7 @@ END_DEBUG
sbp->ocb = (struct sbp_ocb *) contigmalloc(
sizeof (struct sbp_ocb) * SBP_NUM_OCB,
- M_SBP, M_DONTWAIT, 0x10000, 0xffffffff, PAGE_SIZE, 0ul);
+ M_SBP, M_NOWAIT, 0x10000, 0xffffffff, PAGE_SIZE, 0ul);
bzero(sbp->ocb, sizeof (struct sbp_ocb) * SBP_NUM_OCB);
if (sbp->ocb == NULL) {
OpenPOWER on IntegriCloud