Simplify code by having PRT_uuid_to_type() return -1 when
authorkrw <krw@openbsd.org>
Wed, 29 Mar 2023 14:20:50 +0000 (14:20 +0000)
committerkrw <krw@openbsd.org>
Wed, 29 Mar 2023 14:20:50 +0000 (14:20 +0000)
commit43277e5d5b02d0e0761f3f0a44dd926ed5d2898a
tree86bf34ba66ceb0364e42a387e674e86a571e64e6
parent1e6dccedb95d16e211a5994c0bf9346ba12444e0
Simplify code by having PRT_uuid_to_type() return -1 when
no type can be found. 0 is a valid type!

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