Shuffle GPT_read() code into a nice switch{}, eliminating
authorkrw <krw@openbsd.org>
Sat, 15 May 2021 00:01:21 +0000 (00:01 +0000)
committerkrw <krw@openbsd.org>
Sat, 15 May 2021 00:01:21 +0000 (00:01 +0000)
commitdcd4cc8ab1b6b779f160196bf711d72e66446672
tree51d7bc9cd3dd0c137788f354ff97de657e56ebba
parentb8464fd1ac0e783621fb415f7922223b0d73c4fb
Shuffle GPT_read() code into a nice switch{}, eliminating
unnecesary read of primary GPT when only the secondary GPT
is requested.

No intentional functional change.
sbin/fdisk/gpt.c