diff --git a/sys/geom/part/g_part_gpt.c b/sys/geom/part/g_part_gpt.c index 60c593a1bba9..a689862e6837 100644 --- a/sys/geom/part/g_part_gpt.c +++ b/sys/geom/part/g_part_gpt.c @@ -354,7 +354,7 @@ gpt_parse_type(const char *type, struct uuid *uuid) for (uap = &gpt_uuid_alias_match[0]; uap->uuid; uap++) { alias = g_part_alias_name(uap->alias); if (!strcasecmp(type, alias)) { - uuid = uap->uuid; + *uuid = *uap->uuid; return (0); } }