summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/ctx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/ctx.c')
-rw-r--r--sys/i386/isa/ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/ctx.c b/sys/i386/isa/ctx.c
index 6b5a2ca..e70c40e 100644
--- a/sys/i386/isa/ctx.c
+++ b/sys/i386/isa/ctx.c
@@ -234,7 +234,7 @@ ctxopen(dev_t dev, int flags, int fmt, struct thread *td)
/* get space for the LUT buffer */
- sr->lutp = malloc(LUTSIZE, M_DEVBUF, 0);
+ sr->lutp = malloc(LUTSIZE, M_DEVBUF, M_WAITOK);
if (sr->lutp == NULL)
return (ENOMEM);
OpenPOWER on IntegriCloud