diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-10 17:51:32 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-06-10 17:51:32 (GMT) |
commit | 3ca52ffcc2fbd74447ce6e159e0df452389b812a (patch) | |
tree | 43c7e1b21cadb02d5367447f7a06017a05a66931 /src/H5A.c | |
parent | 3f225a14b7e4d29db0cf5bd99dd2387e651f419f (diff) | |
download | hdf5-3ca52ffcc2fbd74447ce6e159e0df452389b812a.zip hdf5-3ca52ffcc2fbd74447ce6e159e0df452389b812a.tar.gz hdf5-3ca52ffcc2fbd74447ce6e159e0df452389b812a.tar.bz2 |
[svn-r5573] Purpose:
Bug fix (#620)
Description:
Change slightly misleading error message when creating attribute with same
name as existing attribute to something a bit more clear.
Platforms tested:
FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5A.c')
-rw-r--r-- | src/H5A.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -265,7 +265,7 @@ H5A_create(const H5G_entry_t *ent, const char *name, const H5T_t *type, */ if(HDstrcmp(found_attr.name,attr->name)==0) { H5O_reset (H5O_ATTR, &found_attr); - HGOTO_ERROR(H5E_ATTR, H5E_CANTCREATE, FAIL, + HGOTO_ERROR(H5E_ATTR, H5E_ALREADYEXISTS, FAIL, "attribute already exists"); } H5O_reset (H5O_ATTR, &found_attr); |