summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/loran.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/i386/isa/loran.c')
-rw-r--r--sys/i386/isa/loran.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/loran.c b/sys/i386/isa/loran.c
index 59c4b6e..9e32538 100644
--- a/sys/i386/isa/loran.c
+++ b/sys/i386/isa/loran.c
@@ -402,7 +402,7 @@ loranwrite(dev_t dev, struct uio * uio, int ioflag)
idx = minor(dev);
- MALLOC(this, struct datapoint *, sizeof *this, M_LORAN, M_WAITOK);
+ MALLOC(this, struct datapoint *, sizeof *this, M_LORAN, 0);
c = imin(uio->uio_resid, (int)sizeof *this);
err = uiomove((caddr_t)this, c, uio);
if (err) {
OpenPOWER on IntegriCloud