summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus/lpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ppbus/lpt.c')
-rw-r--r--sys/dev/ppbus/lpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c
index 9364c50..abc9e95 100644
--- a/sys/dev/ppbus/lpt.c
+++ b/sys/dev/ppbus/lpt.c
@@ -548,8 +548,8 @@ lptopen(dev_t dev, int flags, int fmt, struct thread *td)
ppb_wctr(ppbus, sc->sc_control);
sc->sc_state = OPEN;
- sc->sc_inbuf = malloc(BUFSIZE, M_DEVBUF, M_WAITOK);
- sc->sc_statbuf = malloc(BUFSTATSIZE, M_DEVBUF, M_WAITOK);
+ sc->sc_inbuf = malloc(BUFSIZE, M_DEVBUF, 0);
+ sc->sc_statbuf = malloc(BUFSTATSIZE, M_DEVBUF, 0);
sc->sc_xfercnt = 0;
splx(s);
OpenPOWER on IntegriCloud