diff options
Diffstat (limited to 'sys/pc98/cbus/fdc.c')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index 01e27be..5e3aa47 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -3112,7 +3112,7 @@ fdmisccmd(dev_t dev, u_int cmd, void *data) finfo = (struct fd_formb *)data; idfield = (struct fdc_readid *)data; - bp = malloc(sizeof(struct bio), M_TEMP, M_ZERO); + bp = malloc(sizeof(struct bio), M_TEMP, M_WAITOK | M_ZERO); /* * Set up a bio request for fdstrategy(). bio_blkno is faked |