summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disklabel.c
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/kern/subr_disklabel.c
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/kern/subr_disklabel.c')
-rw-r--r--sys/kern/subr_disklabel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_disklabel.c b/sys/kern/subr_disklabel.c
index e3a734c..9184f2f 100644
--- a/sys/kern/subr_disklabel.c
+++ b/sys/kern/subr_disklabel.c
@@ -354,9 +354,9 @@ hp0g: hard error reading fsbn 12345 of 12344-12347 (hp0 bn %d cn %d tn %d sn %d)
* or addlog, respectively. There is no trailing space.
*/
void
-diskerr(bp, dname, what, pri, blkdone, lp)
+diskerr(bp, what, pri, blkdone, lp)
register struct buf *bp;
- char *dname, *what;
+ char *what;
int pri, blkdone;
register struct disklabel *lp;
{
OpenPOWER on IntegriCloud