1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-28 16:43:09 +00:00

Allow swapping to DragonFlyBSD's swap partition.

MFC after:	2 weeks
This commit is contained in:
Andrey V. Elsukov 2014-06-11 10:23:49 +00:00
parent 0640b71dfe
commit 4042ab48c7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267358

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