Page MenuHomeFreeBSD

Use D_PARTISGPT rather than bare 255
ClosedPublic

Authored by imp on May 1 2019, 5:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 19 2023, 9:07 PM
Unknown Object (File)
Oct 1 2023, 1:04 PM
Unknown Object (File)
Sep 2 2023, 7:31 AM
Unknown Object (File)
Sep 2 2023, 7:29 AM
Unknown Object (File)
Sep 2 2023, 7:27 AM
Unknown Object (File)
Sep 2 2023, 7:16 AM
Unknown Object (File)
Jun 26 2023, 11:10 PM
Unknown Object (File)
Jun 15 2023, 7:13 PM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable