svn commit: r208673 - stable/8/sys/geom/part
Andriy Gapon
avg at FreeBSD.org
Mon May 31 20:17:38 UTC 2010
Author: avg
Date: Mon May 31 20:17:37 2010
New Revision: 208673
URL: http://svn.freebsd.org/changeset/base/208673
Log:
MFC r201374: g_part_gpt: Properly return the UUID represented by the alias
PR: kern/142174
Approved by: re (kib)
Approved by: marcel
Modified:
stable/8/sys/geom/part/g_part_gpt.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
stable/8/sys/geom/sched/ (props changed)
Modified: stable/8/sys/geom/part/g_part_gpt.c
==============================================================================
--- stable/8/sys/geom/part/g_part_gpt.c Mon May 31 09:10:39 2010 (r208672)
+++ stable/8/sys/geom/part/g_part_gpt.c Mon May 31 20:17:37 2010 (r208673)
@@ -354,7 +354,7 @@ gpt_parse_type(const char *type, struct
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);
}
}
More information about the svn-src-stable
mailing list