diff --git a/disk/part.c b/disk/part.c index 491b02d..e640a55 100644 --- a/disk/part.c +++ b/disk/part.c @@ -388,7 +388,6 @@ cleanup: #define PART_UNSPECIFIED -2 #define PART_AUTO -1 -#define MAX_SEARCH_PARTITIONS 16 int blk_get_device_part_str(const char *ifname, const char *dev_part_str, struct blk_desc **dev_desc, disk_partition_t *info, int allow_whole_dev) diff --git a/include/part.h b/include/part.h index 87b1111..22da604 100644 --- a/include/part.h +++ b/include/part.h @@ -49,6 +49,7 @@ struct block_drvr { #define PART_NAME_LEN 32 #define PART_TYPE_LEN 32 +#define MAX_SEARCH_PARTITIONS 64 typedef struct disk_partition { lbaint_t start; /* # of first block in partition */