From f001ddfdb598f9a588b22c029a5ade9030324c4b Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Tue, 1 Aug 2017 02:22:01 +0200 Subject: disk/edisk: add some headroom in the type table for dynamic entries --- sys/src/cmd/disk/prep/edisk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/src/cmd/disk/prep/edisk.c b/sys/src/cmd/disk/prep/edisk.c index b7eed8fc0..3aa8048da 100644 --- a/sys/src/cmd/disk/prep/edisk.c +++ b/sys/src/cmd/disk/prep/edisk.c @@ -98,7 +98,7 @@ static uchar zeros[16]; ((d)>>8)&255,(d)&255, \ ((e)>>40)&255, ((e)>>32)&255, ((e)>>24)&255, ((e)>>16)&255, ((e)>>8)&255, (e)&255} -static Type types[100] = { +static Type types[256] = { {UU(0x00000000,0x0000,0x0000,0x0000,0x000000000000ULL), "", "Unused entry"}, {UU(0x024DEE41,0x33E7,0x11D3,0x9D69,0x0008C781F39FULL), "mbr", "MBR partition"}, {UU(0xC12A7328,0xF81F,0x11D2,0xBA4B,0x00A0C93EC93BULL), "esp", "EFI System Partition"}, -- cgit v1.2.3