diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-11-11 18:21:07 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2011-11-11 18:21:07 +0000 |
commit | 7e0a98dc55739e7b85037140a4709b810e93ab0c (patch) | |
tree | f204ffce739c4def6285bc1199710122d05a29fe /sbin/fsirand/fsirand.c | |
parent | 69c9e6746fe4e31945c9d2f735ea904a7db0e20e (diff) |
A zero-length partition is a non-partition, so reject a partition
length of 0. And anyway PRT_fix_CHS() writes garbage when length
is zero.
Refresh the in-memory copy to reflect any data that was written
out, so you can see that your changes have taken effect.
Surprise behaviours noted by matthew@ at c2k11.
Diffstat (limited to 'sbin/fsirand/fsirand.c')
0 files changed, 0 insertions, 0 deletions