summaryrefslogtreecommitdiffstats
path: root/sys/isa
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-09-13 12:59:41 +0000
committerbde <bde@FreeBSD.org>1999-09-13 12:59:41 +0000
commitd01e107d023c60aa27d853d0951acaecc174d2bc (patch)
treebb4d7be3bdd610a30b6c2b1cdbd216bb7fd212eb /sys/isa
parent5fbd95466cc7159018fb8d55864a955373bffd97 (diff)
downloadFreeBSD-src-d01e107d023c60aa27d853d0951acaecc174d2bc.zip
FreeBSD-src-d01e107d023c60aa27d853d0951acaecc174d2bc.tar.gz
Removed diskerr()'s unused d_name arg and updated callers. This fixes
warnings caused by the arg having the wrong type (not const enough). The arg was also wrong (a full name instead of a short one) for calls from from subr_diskmbr.c and pc98/diskslice_machdep.c.
Diffstat (limited to 'sys/isa')
-rw-r--r--sys/isa/fd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/isa/fd.c b/sys/isa/fd.c
index 7e6b0b3..4075bf4 100644
--- a/sys/isa/fd.c
+++ b/sys/isa/fd.c
@@ -2083,7 +2083,7 @@ retrier(struct fdc_data *fdc)
/* Trick diskerr */
bp->b_dev = makedev(major(bp->b_dev),
(FDUNIT(minor(bp->b_dev))<<3)|RAW_PART);
- diskerr(bp, "fd", "hard error", LOG_PRINTF,
+ diskerr(bp, "hard error", LOG_PRINTF,
fdc->fd->skip / DEV_BSIZE,
(struct disklabel *)NULL);
bp->b_dev = sav_b_dev;
OpenPOWER on IntegriCloud