diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2015-01-16 20:17:07 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2015-01-16 20:17:07 +0000 |
commit | 428a0180af65897e44fa714af4f8cad08b6fff18 (patch) | |
tree | 050e194c1b76c2b27f9a8f4cf28bfa6436b9cd82 /sbin/ping | |
parent | 86abdf609155429284902baf57e4fb5f0dec7f45 (diff) |
disklabel_sun_to_bsd() will nicely set the disk size if it is zero, but it is
usually invoked after initdisklabel() which proactively changes a zero disk
size to MAXDISKSIZE, causing this test to fail.
Allow for MAXDISKSIZE too in that test. This makes spoofed disklabels of SMD
disks have a proper `c' slice size.
luna88k disklabel_om_to_bsd() is modified accordingly, to keep diffability,
even though luna88k can't - to the best of my knowledge - sport SMD disk
controllers.
ok deraadt@ krw@
Diffstat (limited to 'sbin/ping')
0 files changed, 0 insertions, 0 deletions