summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
Diffstat (limited to 'hl')
-rw-r--r--hl/src/H5TB.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/src/H5TB.c b/hl/src/H5TB.c
index 666c6f4..a2510ff 100644
--- a/hl/src/H5TB.c
+++ b/hl/src/H5TB.c
@@ -2516,7 +2516,7 @@ herr_t H5TBinsert_field( hid_t loc_id,
*-------------------------------------------------------------------------
*/
- if ( H5Gmove( loc_id, "new", dset_name ) < 0 )
+ if ( H5Lmove( loc_id, "new", H5L_SAME_LOC, dset_name, H5P_DEFAULT, H5P_DEFAULT ) < 0 )
return -1;
/*-------------------------------------------------------------------------
@@ -3001,7 +3001,7 @@ herr_t H5TBdelete_field( hid_t loc_id,
*-------------------------------------------------------------------------
*/
- if ( H5Gmove( loc_id, "new", dset_name ) < 0 )
+ if ( H5Lmove( loc_id, "new", H5L_SAME_LOC, dset_name, H5P_DEFAULT, H5P_DEFAULT ) < 0 )
return -1;
/*-------------------------------------------------------------------------