summaryrefslogtreecommitdiff
path: root/src/lib/imd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/imd.c')
-rw-r--r--src/lib/imd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/imd.c b/src/lib/imd.c
index 83030d7b14..e3a3927500 100644
--- a/src/lib/imd.c
+++ b/src/lib/imd.c
@@ -166,7 +166,8 @@ static int imdr_create_empty(struct imdr *imdr, size_t root_size,
if (root_size < (sizeof(*rp) + sizeof(*r)))
return -1;
- /* For simplicity don't allow sizes or alignments to exceed LIMIT_ALIGN. */
+ /* For simplicity don't allow sizes or alignments to exceed LIMIT_ALIGN.
+ */
if (root_size > LIMIT_ALIGN || entry_align > LIMIT_ALIGN)
return -1;