summaryrefslogtreecommitdiffstats
path: root/lib/libdisk/chunk.c
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2002-11-13 05:31:32 +0000
committermarcel <marcel@FreeBSD.org>2002-11-13 05:31:32 +0000
commit51b18a9ea395df565a980577302fe8bc0f24ab8c (patch)
treeee6942ad420714dec4b1571b97c3b4e4947eec79 /lib/libdisk/chunk.c
parent1b75e8e7ed0d07a66e774770e7449ec4f4ea08ea (diff)
downloadFreeBSD-src-51b18a9ea395df565a980577302fe8bc0f24ab8c.zip
FreeBSD-src-51b18a9ea395df565a980577302fe8bc0f24ab8c.tar.gz
Handle EFI partitions the same as regular FAT partitions. The only
difference between the two from a low-level point of view is that the partition type is different. This change adds EFI related cases to existing switch statements with existing FAT related cases.
Diffstat (limited to 'lib/libdisk/chunk.c')
-rw-r--r--lib/libdisk/chunk.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libdisk/chunk.c b/lib/libdisk/chunk.c
index 199e6b7..f1f95b6 100644
--- a/lib/libdisk/chunk.c
+++ b/lib/libdisk/chunk.c
@@ -259,6 +259,7 @@ Add_Chunk(struct disk *d, long offset, u_long size, const char *name,
subtype = 0xa5;
/* FALL THROUGH */
case fat:
+ case efi:
case mbr:
c1 = Find_Mother_Chunk(d->chunks, offset, end, whole);
break;
OpenPOWER on IntegriCloud