summaryrefslogtreecommitdiffstats
path: root/examples/h5_debug_trace.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2020-07-03 16:58:55 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2020-07-03 16:58:55 (GMT)
commitd52b27ad1d8142945a92310b79ab79171e76a3c3 (patch)
tree7a18fc179a15db9b1ddfeadcbe62570aa9ae63d4 /examples/h5_debug_trace.c
parent7443e5d53d1c6f15e095de7c44bcc3a5a46d9cf7 (diff)
parent13c9b3768e6193db89d06faf59194b77d7747f45 (diff)
downloadhdf5-d52b27ad1d8142945a92310b79ab79171e76a3c3.zip
hdf5-d52b27ad1d8142945a92310b79ab79171e76a3c3.tar.gz
hdf5-d52b27ad1d8142945a92310b79ab79171e76a3c3.tar.bz2
Merge pull request #2673 in HDFFV/hdf5 from monotonic_timer_fix_01 to develop
* commit '13c9b3768e6193db89d06faf59194b77d7747f45': Address CMake and deprecated API build failures from monotonic timer patch.
Diffstat (limited to 'examples/h5_debug_trace.c')
-rw-r--r--examples/h5_debug_trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_debug_trace.c b/examples/h5_debug_trace.c
index 3d89ba4..5da55ed 100644
--- a/examples/h5_debug_trace.c
+++ b/examples/h5_debug_trace.c
@@ -121,7 +121,7 @@ main(int argc, char **argv)
err = H5Pset_shuffle(pid);
sid = H5Screate_simple(1, dims, dims);
- did = H5Dcreate(fid, "somedata", H5T_NATIVE_INT, sid, H5P_DEFAULT, pid, H5P_DEFAULT);
+ did = H5Dcreate2(fid, "somedata", H5T_NATIVE_INT, sid, H5P_DEFAULT, pid, H5P_DEFAULT);
err = H5Dwrite(did, H5T_NATIVE_INT, sid, sid, H5P_DEFAULT, data);
H5Sclose(sid);