summaryrefslogtreecommitdiff
path: root/lib/sbi/sbi_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sbi/sbi_domain.c')
-rw-r--r--lib/sbi/sbi_domain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sbi/sbi_domain.c b/lib/sbi/sbi_domain.c
index 69a3795..1b2e6e3 100644
--- a/lib/sbi/sbi_domain.c
+++ b/lib/sbi/sbi_domain.c
@@ -521,6 +521,7 @@ int sbi_domain_root_add_memregion(const struct sbi_domain_memregion *reg)
nreg1++;
}
reg_merged = true;
+ root_memregs_count--;
}
}
} while (reg_merged);