Date: Sat, 2 Jan 2010 01:10:06 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-geom@FreeBSD.org Subject: Re: kern/142174: commit references a PR Message-ID: <201001020110.o021A6UL018069@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/142174; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@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@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@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001020110.o021A6UL018069>