diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-20 12:52:03 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2002-09-20 12:52:03 +0000 |
| commit | f90c382c0c6c8b94d43903c8df4b52b4574fadd8 (patch) | |
| tree | 1d367b627ceceea40420446ef7bb5ef0ae17c419 /sys/dev/fdc/fdc.c | |
| parent | 47fae43eab10c482074c64a399e3a07ea9375d9f (diff) | |
Notes
Diffstat (limited to 'sys/dev/fdc/fdc.c')
| -rw-r--r-- | sys/dev/fdc/fdc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/fdc/fdc.c b/sys/dev/fdc/fdc.c index 8c94574b80b1..5e4d3812ba8a 100644 --- a/sys/dev/fdc/fdc.c +++ b/sys/dev/fdc/fdc.c @@ -62,6 +62,7 @@ #include <sys/bus.h> #include <sys/conf.h> #include <sys/devicestat.h> +#include <sys/disk.h> #include <sys/disklabel.h> #include <sys/fcntl.h> #include <sys/fdcio.h> @@ -2512,8 +2513,8 @@ retrier(struct fdc_data *fdc) default: fail: if ((fd->options & FDOPT_NOERRLOG) == 0) { - diskerr(bp, "hard error", fdc->fd->skip / DEV_BSIZE, - (struct disklabel *)NULL); + disk_err(bp, "hard error", + fdc->fd->skip / DEV_BSIZE, 0); if (fdc->flags & FDC_STAT_VALID) { printf( " (ST0 %b ST1 %b ST2 %b cyl %u hd %u sec %u)\n", |
