summaryrefslogtreecommitdiffstats
path: root/test/vfd.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/vfd.c')
-rw-r--r--test/vfd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vfd.c b/test/vfd.c
index f8e5761..5d5ebfc 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -1813,7 +1813,7 @@ test_windows(void)
h5_fixname(FILENAME[8], fapl, filename, sizeof filename);
/* Check that the VFD feature flags are correct */
- if ((driver_id = H5Pget_driver(fapl_id)) < 0)
+ if ((driver_id = H5Pget_driver(fapl)) < 0)
TEST_ERROR
if (H5FDdriver_query(driver_id, &driver_flags) < 0)
TEST_ERROR