summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 7fd03b3..81140eb 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -515,7 +515,7 @@ H5Dget_type(hid_t dset_id)
if(H5T_set_loc(copied_type, NULL, H5T_LOC_MEMORY) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "invalid datatype location")
- /* Unlock copied type */
+ /* Lock copied type */
if(H5T_lock (copied_type, FALSE) < 0)
HGOTO_ERROR(H5E_DATATYPE, H5E_CANTINIT, FAIL, "unable to lock transient datatype")