Allow swapping to DragonFlyBSD's swap partition.

MFC after:	2 weeks
This commit is contained in:
ae 2014-06-11 10:23:49 +00:00
parent f045bddc4e
commit eee41776bd

View File

@ -724,7 +724,8 @@ g_part_gpt_dumpto(struct g_part_table *table, struct g_part_entry *baseentry)
entry = (struct g_part_gpt_entry *)baseentry;
return ((EQUUID(&entry->ent.ent_type, &gpt_uuid_freebsd_swap) ||
EQUUID(&entry->ent.ent_type, &gpt_uuid_linux_swap)) ? 1 : 0);
EQUUID(&entry->ent.ent_type, &gpt_uuid_linux_swap) ||
EQUUID(&entry->ent.ent_type, &gpt_uuid_dfbsd_swap)) ? 1 : 0);
}
static int