summaryrefslogtreecommitdiff
path: root/include/part.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-11 16:03:38 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2022-01-15 10:57:22 +0100
commitbc314f8e5f9b646e5ed09ccee2a2ddb012519305 (patch)
tree9267c8a58f29d0284c6ea050c24dffa3efea2d99 /include/part.h
parent504dbd224a5fd4f80b785e17c106ea738cd32cb4 (diff)
cmd: part: list all 128 GPT partitions
A GPT partition table typically has 128 entries. If a partition table contains a partition 128 'part list' should be able to list it. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/part.h')
-rw-r--r--include/part.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/part.h b/include/part.h
index b66b07a1f0..b8d8e1ff0d 100644
--- a/include/part.h
+++ b/include/part.h
@@ -50,7 +50,7 @@ struct block_drvr {
#define PART_NAME_LEN 32
#define PART_TYPE_LEN 32
-#define MAX_SEARCH_PARTITIONS 64
+#define MAX_SEARCH_PARTITIONS 128
#define PART_BOOTABLE ((int)BIT(0))
#define PART_EFI_SYSTEM_PARTITION ((int)BIT(1))