mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-22 09:31:51 +00:00
[int13] Use correct size when estimating floppy disk geometry
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
parent
117fc61738
commit
8509dbf86a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user