Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 48804
b: refs/heads/master
c: fdb77da
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Bartlomiej Zolnierkiewicz committed Feb 17, 2007
1 parent 0a8dee5 commit 366b477
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 39baf8a798926eb675c9360d5822ca86ed92866e
refs/heads/master: fdb77da4ca68ae17a39d58c9d5c00479a7e124c0
3 changes: 2 additions & 1 deletion trunk/drivers/ide/ide-floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1433,7 +1433,8 @@ static int idefloppy_get_capacity (ide_drive_t *drive)

drive->bios_cyl = 0;
drive->bios_head = drive->bios_sect = 0;
floppy->blocks = floppy->bs_factor = 0;
floppy->blocks = 0;
floppy->bs_factor = 1;
set_capacity(floppy->disk, 0);

idefloppy_create_read_capacity_cmd(&pc);
Expand Down

0 comments on commit 366b477

Please sign in to comment.