sparc64/161764: commit references a PR
dfilter service
dfilter at FreeBSD.ORG
Tue Oct 18 20:20:15 UTC 2011
The following reply was made to PR sparc64/161764; it has been noted by GNATS.
From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:
Subject: Re: sparc64/161764: commit references a PR
Date: Tue, 18 Oct 2011 20:16:15 +0000 (UTC)
Author: marius
Date: Tue Oct 18 20:16:02 2011
New Revision: 226522
URL: http://svn.freebsd.org/changeset/base/226522
Log:
Allow to dump on Solaris swap partitions.
PR: 161764
Submitted by: Peter Jeremy
Modified:
head/sys/geom/part/g_part_vtoc8.c
Modified: head/sys/geom/part/g_part_vtoc8.c
==============================================================================
--- head/sys/geom/part/g_part_vtoc8.c Tue Oct 18 18:52:22 2011 (r226521)
+++ head/sys/geom/part/g_part_vtoc8.c Tue Oct 18 20:16:02 2011 (r226522)
@@ -274,7 +274,8 @@ g_part_vtoc8_dumpto(struct g_part_table
*/
table = (struct g_part_vtoc8_table *)basetable;
tag = be16dec(&table->vtoc.part[entry->gpe_index - 1].tag);
- return ((tag == 0 || tag == VTOC_TAG_FREEBSD_SWAP) ? 1 : 0);
+ return ((tag == 0 || tag == VTOC_TAG_FREEBSD_SWAP ||
+ tag == VTOC_TAG_SWAP) ? 1 : 0);
}
static int
_______________________________________________
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-sparc64
mailing list