diff options
Diffstat (limited to 'sys/isa/fd.c')
-rw-r--r-- | sys/isa/fd.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c index d086261..4de2624 100644 --- a/sys/isa/fd.c +++ b/sys/isa/fd.c @@ -2215,16 +2215,11 @@ retrier(struct fdc_data *fdc) default: fail: { - dev_t sav_bio_dev = bp->bio_dev; int printerror = (fd->options & FDOPT_NOERRLOG) == 0; - /* Trick diskerr */ - bp->bio_dev = makedev(major(bp->bio_dev), - (FDUNIT(minor(bp->bio_dev))<<3)|RAW_PART); if (printerror) diskerr(bp, "hard error", fdc->fd->skip / DEV_BSIZE, (struct disklabel *)NULL); - bp->bio_dev = sav_bio_dev; if (printerror) { if (fdc->flags & FDC_STAT_VALID) { |