summaryrefslogtreecommitdiffstats
path: root/test/unlink.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2020-01-04 15:31:30 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2020-01-04 15:31:30 (GMT)
commit4f98de52d64a283b6ff63281c2e06365b3b94df0 (patch)
treebddf2c7f13aaaa309e5aeb74d96cc12e5fc52e4a /test/unlink.c
parent99e990e1ee8b6610793b8a2eb87bd2e2c77ab020 (diff)
parent0225e6d59698c9a720177766794619c7ad273f4a (diff)
downloadhdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.zip
hdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.tar.gz
hdf5-4f98de52d64a283b6ff63281c2e06365b3b94df0.tar.bz2
Merge pull request #2228 in HDFFV/hdf5 from minor_improvements_from_token_refactor to develop
* commit '0225e6d59698c9a720177766794619c7ad273f4a': Small changes from the token_refactoring branch, to reduce the delta to develop
Diffstat (limited to 'test/unlink.c')
-rw-r--r--test/unlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unlink.c b/test/unlink.c
index 6825dec..5199dcf 100644
--- a/test/unlink.c
+++ b/test/unlink.c
@@ -441,7 +441,7 @@ check_new_move(hid_t fapl)
TESTING("check new move function");
/* Open file */
- h5_fixname(FILENAME[1], fapl, filename, sizeof filename);
+ h5_fixname(FILENAME[1], fapl, filename, sizeof(filename));
if((file = H5Fopen(filename, H5F_ACC_RDONLY, fapl)) < 0)
FAIL_STACK_ERROR
@@ -458,7 +458,7 @@ check_new_move(hid_t fapl)
FAIL_PUTS_ERROR(" Hard link test failed. Link seems not to point to the expected file location.")
/* Check soft links */
- if(H5Lget_val(file, "group2/soft", linkval, sizeof linkval, H5P_DEFAULT) < 0)
+ if(H5Lget_val(file, "group2/soft", linkval, sizeof(linkval), H5P_DEFAULT) < 0)
FAIL_STACK_ERROR
if(HDstrcmp(linkval, "/group1/group_move"))
FAIL_PUTS_ERROR(" Soft link test failed. Wrong link value")