diff options
author | phk <phk@FreeBSD.org> | 2003-04-03 18:55:16 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-04-03 18:55:16 +0000 |
commit | 3288c86f742dd0658a4e8cb0dc6e5ebbab94fcd0 (patch) | |
tree | 9bbb65b30356bf3f7513a196c3b728789f8992a0 /sys/geom | |
parent | aca72a7a77a602e7e160b91c98fd6d8e40eaf6f7 (diff) | |
download | FreeBSD-src-3288c86f742dd0658a4e8cb0dc6e5ebbab94fcd0.zip FreeBSD-src-3288c86f742dd0658a4e8cb0dc6e5ebbab94fcd0.tar.gz |
Add #define for DOSPTYP_PMBR, and use it.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/geom_mbr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c index d4d7446..cef7466 100644 --- a/sys/geom/geom_mbr.c +++ b/sys/geom/geom_mbr.c @@ -149,7 +149,7 @@ g_mbr_modify(struct g_geom *gp, struct g_mbr_softc *ms, u_char *sec0) * partitions to be present in the MBR. A PMBR will * be handled correctly anyway. */ - if (dp[i].dp_typ == 0xee) + if (dp[i].dp_typ == DOSPTYP_PMBR) l[i] = 0; else if (dp[i].dp_flag != 0 && dp[i].dp_flag != 0x80) l[i] = 0; |