Allow to dump on Solaris swap partitions.
PR: 161764 Submitted by: Peter Jeremy
This commit is contained in:
parent
a2cd889979
commit
081cdfe9e8
@ -274,7 +274,8 @@ g_part_vtoc8_dumpto(struct g_part_table *basetable,
|
||||
*/
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user