diff options
author | 2009-04-25 20:56:39 +0000 | |
---|---|---|
committer | 2009-04-25 20:56:39 +0000 | |
commit | f07924f1dc29c50aea8e2cdb738c42e238b9a1d6 (patch) | |
tree | 92db09c64706095ad45de4672ba362ff4854b710 /sbin/disklabel/editor.c | |
parent | previous was slightly wrong - revert to full product name; (diff) | |
download | wireguard-openbsd-f07924f1dc29c50aea8e2cdb738c42e238b9a1d6.tar.xz wireguard-openbsd-f07924f1dc29c50aea8e2cdb738c42e238b9a1d6.zip |
stdsize() used to round the sector count to a multiple of 10**3, and
then would multiply by 512 and print the result. This means that, when
printing a partition size, the installer would print sizes rounded to
multiples of 512MB for partitions shorter than a few GB, for example.
Change this to round up one less 10**3 unit, then multiply by 512, then
complete the rounding.
ok krw@ long ago.
Diffstat (limited to 'sbin/disklabel/editor.c')
0 files changed, 0 insertions, 0 deletions