Move get_default_mbr() invocation before DISK_open() invocation and remove
authorkrw <krw@openbsd.org>
Tue, 19 Oct 2021 19:38:10 +0000 (19:38 +0000)
committerkrw <krw@openbsd.org>
Tue, 19 Oct 2021 19:38:10 +0000 (19:38 +0000)
commit9b99195d5e43fcef7f199f910ad0ac81fce230b4
treec4a74c8079fa446699a64e91ae6c51bd2c854fba
parentec68b3c458cb9b261befcead91da134bda457815
Move get_default_mbr() invocation before DISK_open() invocation and remove
"rpath wpath" from the pledge() invocation. Makes default_dmbr information
available to DISK_open().

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