aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-05-25 09:07:23 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-05-25 09:07:23 +0000
commit48c35f87be66bc3a1cb648e3730257ec7637d727 (patch)
tree87b037ea417a5f35a099abf9f8ce2b6a692b7254 /sys/dev
parent2613d3fec9b3f28007266c98343325e0212bb3c4 (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/fdc/fdc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c
index d0862613d393..4de26243b2ec 100644
--- a/sys/dev/fdc/fdc.c
+++ b/sys/dev/fdc/fdc.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)
{