Signed-off-by: Tomáš Ryšavý <tom.rysavy.0(a)gmail.com>
---
src/test/test_driver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 53cfa3c..bf2e80a 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -1269,7 +1269,7 @@ testOpenDefault(virConnectPtr conn)
/* Numa setup */
privconn->numCells = 2;
- for (u = 0; u < 2; ++u) {
+ for (u = 0; u < privconn->numCells; ++u) {
privconn->cells[u].numCpus = 8;
privconn->cells[u].mem = (u + 1) * 2048 * 1024;
}
--
2.9.3