summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorMichael Brown2017-01-26 10:31:40 +0100
committerMichael Brown2017-01-26 10:31:40 +0100
commitfcf77515650272b9b51e18c115c66f48d33481b0 (patch)
treeca04739455aebc3c53cfc437b3b348bc46d8c5f5 /src/include/usr
parent[hyperv] Provide timer based on the 10MHz time reference count MSR (diff)
downloadipxe-fcf77515650272b9b51e18c115c66f48d33481b0.tar.gz
ipxe-fcf77515650272b9b51e18c115c66f48d33481b0.tar.xz
ipxe-fcf77515650272b9b51e18c115c66f48d33481b0.zip
[int13] Avoid potential division by zero
Avoid using a zero sector count to guess the disk geometry, since that would result in a division by zero when calculating the number of cylinders. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/usr')
0 files changed, 0 insertions, 0 deletions