summaryrefslogtreecommitdiffstats
path: root/src/json.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/json.h')
-rw-r--r--src/json.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/json.h b/src/json.h
index df7964d..978f7a8 100644
--- a/src/json.h
+++ b/src/json.h
@@ -30,7 +30,8 @@ struct og_partition {
const char *used_size;
};
-#define OG_PARTITION_MAX 4
+#define OG_DISK_MAX 4
+#define OG_PARTITION_MAX (4 * OG_DISK_MAX)
int og_json_parse_partition(json_t *element, struct og_partition *part,
uint64_t required_flags);