Page MenuHomeFreeBSD

D16588.1795441247.diff
No OneTemporary

Authored By
Unknown
Size
400 B
Referenced Files
None
Subscribers
None

D16588.1795441247.diff

Index: stand/i386/libi386/biosdisk.c
===================================================================
--- stand/i386/libi386/biosdisk.c
+++ stand/i386/libi386/biosdisk.c
@@ -275,7 +275,7 @@
total = (uint64_t)params.cylinders *
params.heads * params.sectors_per_track;
- if (bd->bd_sectors > total)
+ if (total > 0 && bd->bd_sectors > total)
bd->bd_sectors = total;
ret = 1;

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 23, 1:40 PM (5 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41932595
Default Alt Text
D16588.1795441247.diff (400 B)

Event Timeline