diff options
-rw-r--r-- | sys/pc98/cbus/fdc.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/fd.c | 2 |
2 files changed, 2 insertions, 2 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 diff --git a/sys/pc98/pc98/fd.c b/sys/pc98/pc98/fd.c index 01e27be..5e3aa47 100644 --- a/sys/pc98/pc98/fd.c +++ b/sys/pc98/pc98/fd.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 |