summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_alq.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
committerimp <imp@FreeBSD.org>2003-02-19 05:47:46 +0000
commitcf874b345d0f766fb64cf4737e1c85ccc78d2bee (patch)
tree9e20e320fe15ae4bf68f8335fcf9d3e71d3b3614 /sys/kern/kern_alq.c
parentb72619cecb8265d3efb3781b0acff1380762c173 (diff)
downloadFreeBSD-src-cf874b345d0f766fb64cf4737e1c85ccc78d2bee.zip
FreeBSD-src-cf874b345d0f766fb64cf4737e1c85ccc78d2bee.tar.gz
Back out M_* changes, per decision of the TRB.
Approved by: trb
Diffstat (limited to 'sys/kern/kern_alq.c')
-rw-r--r--sys/kern/kern_alq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_alq.c b/sys/kern/kern_alq.c
index 7e86b55..7ddacc8 100644
--- a/sys/kern/kern_alq.c
+++ b/sys/kern/kern_alq.c
@@ -352,9 +352,9 @@ alq_open(struct alq **alqp, const char *file, int size, int count)
/* We just unlock so we hold a reference */
VOP_UNLOCK(nd.ni_vp, 0, td);
- alq = malloc(sizeof(*alq), M_ALD, M_ZERO);
- alq->aq_entbuf = malloc(count * size, M_ALD, M_ZERO);
- alq->aq_first = malloc(sizeof(*ale) * count, M_ALD, M_ZERO);
+ alq = malloc(sizeof(*alq), M_ALD, M_WAITOK|M_ZERO);
+ alq->aq_entbuf = malloc(count * size, M_ALD, M_WAITOK|M_ZERO);
+ alq->aq_first = malloc(sizeof(*ale) * count, M_ALD, M_WAITOK|M_ZERO);
alq->aq_vp = nd.ni_vp;
alq->aq_cred = crhold(td->td_ucred);
alq->aq_entmax = count;
OpenPOWER on IntegriCloud