Always check the return values of get_[fsize|bsize|cpg].
authorkrw <krw@openbsd.org>
Thu, 23 Aug 2018 13:21:27 +0000 (13:21 +0000)
committerkrw <krw@openbsd.org>
Thu, 23 Aug 2018 13:21:27 +0000 (13:21 +0000)
commitd68164a26921c7f7b0c176ab405d710a7cd3703f
tree5d6650bd85e62ab13086b491f817b2af3f054650
parentca4531c30444e11d38a8ee82f32489a5f8fe31ed
Always check the return values of get_[fsize|bsize|cpg].

Accept partition changes only if all succeed.

ok tb@ deraadt@
sbin/disklabel/editor.c