From owner-freebsd-geom@FreeBSD.ORG Mon May 31 20:20:06 2010 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A15A106566C for ; Mon, 31 May 2010 20:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E3D828FC0C for ; Mon, 31 May 2010 20:20:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o4VKK5fP023512 for ; Mon, 31 May 2010 20:20:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o4VKK5Ff023511; Mon, 31 May 2010 20:20:05 GMT (envelope-from gnats) Date: Mon, 31 May 2010 20:20:05 GMT Message-Id: <201005312020.o4VKK5Ff023511@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: kern/142174: commit references a PR X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2010 20:20:06 -0000 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: Mon, 31 May 2010 20:18:38 +0000 (UTC) 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); } } _______________________________________________ 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"