diff options
author | joerg <joerg@FreeBSD.org> | 1994-11-07 20:09:35 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1994-11-07 20:09:35 +0000 |
commit | b78cd14f01f62a5e22144088014cd73f25ee8137 (patch) | |
tree | 965c647a60748e913c2e1f48209648a4904de7de /usr.bin/tset | |
parent | 85b4fbc7138b6ea2ed09c725f2be12681ecf172a (diff) | |
download | FreeBSD-src-b78cd14f01f62a5e22144088014cd73f25ee8137.zip FreeBSD-src-b78cd14f01f62a5e22144088014cd73f25ee8137.tar.gz |
Avoid a division by zero if the actual sector size isn't known during the
device announcement; assume a sector size of 512 instead (likely to be
right at all).
This case happens when booting with a removable disk device attached
(e.g. an MOD), but no medium inserted.
Diffstat (limited to 'usr.bin/tset')
0 files changed, 0 insertions, 0 deletions