summaryrefslogtreecommitdiffstats
path: root/test/vpnor/read_patch.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/vpnor/read_patch.cpp')
-rw-r--r--test/vpnor/read_patch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpnor/read_patch.cpp b/test/vpnor/read_patch.cpp
index b06907c..2a91b66 100644
--- a/test/vpnor/read_patch.cpp
+++ b/test/vpnor/read_patch.cpp
@@ -56,7 +56,7 @@ int main()
std::vector<uint8_t> patch(PATCH_SIZE, 0xff);
root.patch("ONE", patch.data(), patch.size());
- vpnor_create_partition_table_from_path(ctx, root.ro().c_str());
+ init_vpnor_from_paths(ctx);
int rc = mbox_command_dispatch(ctx, get_info, sizeof(get_info));
assert(rc == 1);
OpenPOWER on IntegriCloud