diff options
| author | Michael Brown | 2012-09-14 16:04:53 +0200 |
|---|---|---|
| committer | Michael Brown | 2012-09-14 16:04:53 +0200 |
| commit | 8509dbf86acce7aacb3518c3f8b5bcb0cb4809da (patch) | |
| tree | 9f31c242266b4c38321356d6c002105a3cfd6ddf /src | |
| parent | [console] Add support for the bochs/qemu debug port console (diff) | |
| download | ipxe-8509dbf86acce7aacb3518c3f8b5bcb0cb4809da.tar.gz ipxe-8509dbf86acce7aacb3518c3f8b5bcb0cb4809da.tar.xz ipxe-8509dbf86acce7aacb3518c3f8b5bcb0cb4809da.zip | |
[int13] Use correct size when estimating floppy disk geometry
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src')
| -rw-r--r-- | src/arch/i386/interface/pcbios/int13.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/interface/pcbios/int13.c b/src/arch/i386/interface/pcbios/int13.c index 191e74187..263f861e4 100644 --- a/src/arch/i386/interface/pcbios/int13.c +++ b/src/arch/i386/interface/pcbios/int13.c @@ -627,7 +627,7 @@ static const struct int13_fdd_geometry int13_fdd_geometries[] = { static int int13_guess_geometry_fdd ( struct int13_drive *int13, unsigned int *heads, unsigned int *sectors ) { - unsigned int blocks = int13_blksize ( int13 ); + unsigned int blocks = int13_capacity ( int13 ); const struct int13_fdd_geometry *geometry; unsigned int cylinders; unsigned int i; |
