summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/tmisc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tmisc.c b/test/tmisc.c
index f55028b..b862b1c 100644
--- a/test/tmisc.c
+++ b/test/tmisc.c
@@ -4581,7 +4581,7 @@ test_misc25b(void)
HDstrcat(testfile, MISC25B_FILE);
/* Open file */
- fid = H5Fopen(testfile, H5F_ACC_RDWR, H5P_DEFAULT);
+ fid = H5Fopen(testfile, H5F_ACC_RDONLY, H5P_DEFAULT);
CHECK(fid, FAIL, "H5Fopen");
/* Re-open group with object header messages that will merge */