diff options
author | nyan <nyan@FreeBSD.org> | 2002-04-06 06:43:55 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2002-04-06 06:43:55 +0000 |
commit | 3596e8cbe3a3ed4c5cf03996177c0b980a29782d (patch) | |
tree | e70d6207b5313dfec33e9ef73c6c1982975a8cbe /sys/pc98/cbus/fdc.c | |
parent | e4475cba04c7df5e75f0a30c03ee74a81ee73228 (diff) | |
download | FreeBSD-src-3596e8cbe3a3ed4c5cf03996177c0b980a29782d.zip FreeBSD-src-3596e8cbe3a3ed4c5cf03996177c0b980a29782d.tar.gz |
Merged from sys/isa/fd.c revision 1.228.
Diffstat (limited to 'sys/pc98/cbus/fdc.c')
-rw-r--r-- | sys/pc98/cbus/fdc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/cbus/fdc.c b/sys/pc98/cbus/fdc.c index e8b85c3..483a982 100644 --- a/sys/pc98/cbus/fdc.c +++ b/sys/pc98/cbus/fdc.c @@ -3248,7 +3248,7 @@ fdioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct thread *td) fdt = fd->ft; lp->d_secpercyl = fdt->size / fdt->tracks; lp->d_type = DTYPE_FLOPPY; - if (readdisklabel(dkmodpart(dev, RAW_PART), lp) != NULL) + if (readdisklabel(dev, lp) != NULL) error = EINVAL; else *(struct disklabel *)addr = *lp; |