summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/testh5repack_attr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5repack/testh5repack_attr.c')
-rw-r--r--tools/h5repack/testh5repack_attr.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5repack/testh5repack_attr.c b/tools/h5repack/testh5repack_attr.c
index 9862b80..ec77864 100644
--- a/tools/h5repack/testh5repack_attr.c
+++ b/tools/h5repack/testh5repack_attr.c
@@ -213,14 +213,15 @@ void write_attr_in(hid_t loc_id,
* H5T_REFERENCE
*-------------------------------------------------------------------------
*/
- /* Create references to dataset */
+ /* object references ( H5R_OBJECT */
if (dset_name)
{
status=H5Rcreate(&buf4[0],fid,dset_name,H5R_OBJECT,-1);
status=H5Rcreate(&buf4[1],fid,dset_name,H5R_OBJECT,-1);
- write_attr(loc_id,1,dims,"reference",H5T_STD_REF_OBJ,buf4);
+ write_attr(loc_id,1,dims,"reference to object",H5T_STD_REF_OBJ,buf4);
}
+
/*-------------------------------------------------------------------------
* H5T_ENUM
*-------------------------------------------------------------------------