summaryrefslogtreecommitdiffstats
path: root/test/vpnor/create_pnor_partition_table.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpnor/create_pnor_partition_table.cpp')
-rw-r--r--test/vpnor/create_pnor_partition_table.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/vpnor/create_pnor_partition_table.cpp b/test/vpnor/create_pnor_partition_table.cpp
index 98d474b..09f481d 100644
--- a/test/vpnor/create_pnor_partition_table.cpp
+++ b/test/vpnor/create_pnor_partition_table.cpp
@@ -20,7 +20,9 @@ namespace test = openpower::virtual_pnor::test;
int main()
{
- test::VpnorRoot root(toc, BLOCK_SIZE);
+ struct mbox_context _ctx, *ctx = &_ctx;
+
+ test::VpnorRoot root(ctx, toc, BLOCK_SIZE);
const openpower::virtual_pnor::partition::Table table(root.ro(), BLOCK_SIZE,
PNOR_SIZE);
OpenPOWER on IntegriCloud