kern/142174: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Sat Jan 2 01:10:06 UTC 2010
The following reply was made to PR kern/142174; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: kern/142174: commit references a PR
Date: Sat, 2 Jan 2010 01:03:11 +0000 (UTC)
Author: marcel
Date: Sat Jan 2 01:02:59 2010
New Revision: 201374
URL: http://svn.freebsd.org/changeset/base/201374
Log:
Properly return the UUID represented by the alias.
PR: 142174
Submitted by: Przemyslaw Laczynski <torindel at gmail.com>
Pointy hat to: rpaulo
Modified:
head/sys/geom/part/g_part_gpt.c
Modified: head/sys/geom/part/g_part_gpt.c
==============================================================================
--- head/sys/geom/part/g_part_gpt.c Sat Jan 2 00:37:00 2010 (r201373)
+++ head/sys/geom/part/g_part_gpt.c Sat Jan 2 01:02:59 2010 (r201374)
@@ -375,7 +375,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);
}
}
_______________________________________________
svn-src-all at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
More information about the freebsd-geom
mailing list