summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/H5P.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 81e155e..d8b0229 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -1707,7 +1707,7 @@ H5Pset_driver(hid_t plist_id, hid_t driver_id, const void *driver_info)
/* Add new driver */
H5I_inc_ref(driver_id);
dxpl->driver_id = driver_id;
- dxpl->driver_info = H5FD_fapl_copy(driver_id, driver_info);
+ dxpl->driver_info = H5FD_dxpl_copy(driver_id, driver_info);
} else {
HRETURN_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL,