summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2018-10-27 07:43:40 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2018-10-27 07:43:40 (GMT)
commitfb6ecf33b0e39b5568b648f9c6a59e7d95f5547c (patch)
tree217f3f6cd6fbcd5ff087869691ee09f312aac891
parent9c7b96b42fa8f2a0f02c7ba72173c09424d740c3 (diff)
downloadhdf5-fb6ecf33b0e39b5568b648f9c6a59e7d95f5547c.zip
hdf5-fb6ecf33b0e39b5568b648f9c6a59e7d95f5547c.tar.gz
hdf5-fb6ecf33b0e39b5568b648f9c6a59e7d95f5547c.tar.bz2
Fix names of VOL API routines.
-rw-r--r--examples/h5_vol_external_log_native.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5_vol_external_log_native.c b/examples/h5_vol_external_log_native.c
index 1a6685c..9c761a5 100644
--- a/examples/h5_vol_external_log_native.c
+++ b/examples/h5_vol_external_log_native.c
@@ -174,7 +174,7 @@ int main(int argc, char **argv) {
H5Pset_fapl_native(under_fapl);
assert(H5VLis_plugin_registered("native") == 1);
- vol_id = H5VLregister_plugin(&H5VL_log_g);
+ vol_id = H5VLregister_plugin(&H5VL_log_g, H5P_DEFAULT);
assert(vol_id > 0);
assert(H5VLis_plugin_registered("log") == 1);
@@ -242,7 +242,7 @@ int main(int argc, char **argv) {
H5Pclose(under_fapl);
H5VLclose(native_plugin_id);
- H5VLunregister_driver(vol_id);
+ H5VLunregister_plugin(vol_id);
assert(H5VLis_plugin_registered("log") == 0);
return 0;
}