Page MenuHomeFreeBSD

Use D_PARTISGPT rather than bare 255
ClosedPublic

Authored by imp on May 1 2019, 5:33 AM.
Tags
None
Referenced Files
F126514087: D20122.id56899.diff
Wed, Aug 20, 10:43 AM
Unknown Object (File)
Wed, Aug 13, 9:12 PM
Unknown Object (File)
Sat, Jul 26, 8:13 PM
Unknown Object (File)
Sat, Jul 26, 4:00 AM
Unknown Object (File)
Jun 30 2025, 6:50 AM
Unknown Object (File)
Jun 23 2025, 3:41 PM
Unknown Object (File)
Jun 21 2025, 4:18 PM
Unknown Object (File)
Jun 15 2025, 3:21 AM
Subscribers
None

Details

Summary

These three cases dovetail with other places in the code where we use
or set D_PARTISGPT when we mean that the partitioning scheme is
GPT. Use this #define to make the code easier to undertand.

NOTE: My reading of grep -r 255 src/stand says I caught them all. Prove me wrong.

Bonus question: Do we use a different #define that happens to be 255 when we mean this one. I don't think so.

Test Plan

md5 says the .o is the same before and afer :).

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24031
Build 22917: arc lint + arc unit