diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2009-11-12 19:30:49 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2009-11-12 19:30:49 +0000 |
commit | e51ec1f0835a62dd0ba1c22ae4cb6d6e7890eaa1 (patch) | |
tree | e77f7de68751862895acc9517d93ddcc49d37f68 /sys/geom/part/g_part_gpt.c | |
parent | 8fed657163fb373990aaa15c79b58a7c963373b2 (diff) | |
download | FreeBSD-src-e51ec1f0835a62dd0ba1c22ae4cb6d6e7890eaa1.zip FreeBSD-src-e51ec1f0835a62dd0ba1c22ae4cb6d6e7890eaa1.tar.gz |
Add a missing check for Apple HFS partitions.
MFC after: 1 week
Diffstat (limited to 'sys/geom/part/g_part_gpt.c')
-rw-r--r-- | sys/geom/part/g_part_gpt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/geom/part/g_part_gpt.c b/sys/geom/part/g_part_gpt.c index a153274..a7eb899 100644 --- a/sys/geom/part/g_part_gpt.c +++ b/sys/geom/part/g_part_gpt.c @@ -736,6 +736,8 @@ g_part_gpt_type(struct g_part_table *basetable, struct g_part_entry *baseentry, return (g_part_alias_name(G_PART_ALIAS_FREEBSD_ZFS)); if (EQUUID(type, &gpt_uuid_mbr)) return (g_part_alias_name(G_PART_ALIAS_MBR)); + if (EQUUID(type, &gpt_uuid_apple_hfs)) + return (g_part_alias_name(G_PART_ALIAS_APPLE_HFS)); buf[0] = '!'; snprintf_uuid(buf + 1, bufsz - 1, type); return (buf); |