Change PRT_protected_guid() to take native order uuid's instead of little endian
authorkrw <krw@openbsd.org>
Fri, 16 Jul 2021 22:50:43 +0000 (22:50 +0000)
committerkrw <krw@openbsd.org>
Fri, 16 Jul 2021 22:50:43 +0000 (22:50 +0000)
commit2ea83235a5a82a9ddd2546e1b22538fc443bc978
treee0d148364ce60504b03aeaf4e7d7d7e2c0f09082
parent39d683862cbb1e442f6479cc0a1b2d64adf39217
Change PRT_protected_guid() to take native order uuid's instead of little endian
uuid's. This brings it into line with all the other PRT_ functions taking uuid
parameters.

While adapting gsetid(), introduce separate partition type and partition guid
variables to make the logic clearer.

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