diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index 01e27befdf8f..5e3aa47bcf57 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 01e27befdf8f..5e3aa47bcf57 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