diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-17 10:34:15 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2006-08-17 10:34:15 +0000 |
commit | 0bfd0c9eeee1887c39a87a77e1a487056fb215f8 (patch) | |
tree | 34470413c18db602c641504f1d7108493b6bce27 /sys/arch/hppa/dev/wax.c | |
parent | bcd9b3f43d803a9c3588c2d8944185e7c8f0a5ca (diff) |
Check d_secpercyl in all readdisklable() functions, and have all of
them return 'invalid geometry' when d_secpercyl == 0. While there move
the check to a consistant location (after the check of d_secperunit)
and use a consistant idiom (i.e. some readdisklabel()'s have no 'done'
label).
prodded by thib@ after a bad macppc experience. ok deraadt@
Diffstat (limited to 'sys/arch/hppa/dev/wax.c')
0 files changed, 0 insertions, 0 deletions