summaryrefslogtreecommitdiffstats
path: root/examples/h5_shared_mesg.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/h5_shared_mesg.c')
-rw-r--r--examples/h5_shared_mesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/h5_shared_mesg.c b/examples/h5_shared_mesg.c
index 6528994..2548350 100644
--- a/examples/h5_shared_mesg.c
+++ b/examples/h5_shared_mesg.c
@@ -294,7 +294,7 @@ create_standard_file(const char *filename, hid_t fcpl_id)
if(dset_id < 0) goto error;
/* Create an attribute on the dataset */
- attr_id = H5Acreate2(dset_id, ".", "attr_name", attr_type_id, attr_space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
+ attr_id = H5Acreate2(dset_id, "attr_name", attr_type_id, attr_space_id, H5P_DEFAULT, H5P_DEFAULT);
if(attr_id < 0) goto error;
/* Write data to the attribute */