summaryrefslogtreecommitdiffstats
path: root/test/efc.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2020-01-21 23:51:46 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2020-01-21 23:51:46 (GMT)
commit24fe4b38da4786990cb95b117b45475404b05920 (patch)
tree930d7d8b458c2eb66433bc55490e39c54c2ffb24 /test/efc.c
parenta63f22e27cad74c9bb98ca2b4d2a5fd118ef3571 (diff)
downloadhdf5-24fe4b38da4786990cb95b117b45475404b05920.zip
hdf5-24fe4b38da4786990cb95b117b45475404b05920.tar.gz
hdf5-24fe4b38da4786990cb95b117b45475404b05920.tar.bz2
Fixed yet another small issue in test/efc.c.
Diffstat (limited to 'test/efc.c')
-rw-r--r--test/efc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/efc.c b/test/efc.c
index af37bed..b818fb4 100644
--- a/test/efc.c
+++ b/test/efc.c
@@ -2921,12 +2921,12 @@ main(void)
}
/* Patch filenames */
- h5_fixname(FILENAME[0], fapl_id, filename[0], sizeof(filename[0]));
- h5_fixname(FILENAME[1], fapl_id, filename[1], sizeof(filename[1]));
- h5_fixname(FILENAME[2], fapl_id, filename[2], sizeof(filename[2]));
- h5_fixname(FILENAME[3], fapl_id, filename[3], sizeof(filename[3]));
- h5_fixname(FILENAME[4], fapl_id, filename[4], sizeof(filename[4]));
- h5_fixname(FILENAME[5], fapl_id, filename[5], sizeof(filename[5]));
+ h5_fixname(FILENAME[0], fapl_id, filename[0], PATH_MAX);
+ h5_fixname(FILENAME[1], fapl_id, filename[1], PATH_MAX);
+ h5_fixname(FILENAME[2], fapl_id, filename[2], PATH_MAX);
+ h5_fixname(FILENAME[3], fapl_id, filename[3], PATH_MAX);
+ h5_fixname(FILENAME[4], fapl_id, filename[4], PATH_MAX);
+ h5_fixname(FILENAME[5], fapl_id, filename[5], PATH_MAX);
/* Push API context */
if(H5CX_push() < 0) FAIL_STACK_ERROR