summaryrefslogtreecommitdiffstats
path: root/hl/src/H5IM.c
diff options
context:
space:
mode:
Diffstat (limited to 'hl/src/H5IM.c')
-rw-r--r--hl/src/H5IM.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hl/src/H5IM.c b/hl/src/H5IM.c
index cf2ea80..0cc79e4 100644
--- a/hl/src/H5IM.c
+++ b/hl/src/H5IM.c
@@ -547,7 +547,7 @@ herr_t H5IMlink_palette( hid_t loc_id,
goto out;
/* Create the attribute "PALETTE" to be attached to the image*/
- if((attr_id = H5Acreate2(image_id, ".", "PALETTE", attr_type, attr_space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0)
+ if((attr_id = H5Acreate2(image_id, "PALETTE", attr_type, attr_space_id, H5P_DEFAULT, H5P_DEFAULT)) < 0)
goto out;
/* Create a reference. The reference is created on the local id. */
@@ -617,7 +617,7 @@ herr_t H5IMlink_palette( hid_t loc_id,
if(H5Aclose(attr_id) < 0)
goto out;
- if((attr_id = H5Acreate2(image_id, ".", "PALETTE", attr_type, attr_space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0)
+ if((attr_id = H5Acreate2(image_id, "PALETTE", attr_type, attr_space_id, H5P_DEFAULT, H5P_DEFAULT)) < 0)
goto out;
/* Write the attribute with the new references */