summaryrefslogtreecommitdiffstats
path: root/src/H5A.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-21 14:23:57 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-05-21 14:23:57 (GMT)
commit41c42d25f36519afdb603abf6c3ca76e39b20435 (patch)
tree8b248ef5992bbd21029fd3bfbd297c8f6a8d4aa7 /src/H5A.c
parent748b630b2b0451f7305918d25244e5a5fddc1f11 (diff)
downloadhdf5-41c42d25f36519afdb603abf6c3ca76e39b20435.zip
hdf5-41c42d25f36519afdb603abf6c3ca76e39b20435.tar.gz
hdf5-41c42d25f36519afdb603abf6c3ca76e39b20435.tar.bz2
[svn-r22384] - fix type in CMake file
- rename delete callback to remove
Diffstat (limited to 'src/H5A.c')
-rw-r--r--src/H5A.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 2c361dc..930eb9a 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -2135,7 +2135,7 @@ H5Adelete(hid_t loc_id, const char *name)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "no name")
/* Open the attribute through the VOL */
- if(H5VL_attr_delete(loc_id, NULL, name, H5_REQUEST_NULL) < 0)
+ if(H5VL_attr_remove(loc_id, NULL, name, H5_REQUEST_NULL) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTDELETE, FAIL, "unable to delete attribute")
done:
@@ -2187,7 +2187,7 @@ H5Adelete_by_name(hid_t loc_id, const char *obj_name, const char *attr_name,
HGOTO_ERROR(H5E_SYM, H5E_CANTINIT, FAIL, "unable to locate object")
/* Open the attribute through the VOL */
- if(H5VL_attr_delete(loc_id, location, attr_name, H5_REQUEST_NULL) < 0)
+ if(H5VL_attr_remove(loc_id, location, attr_name, H5_REQUEST_NULL) < 0)
HGOTO_ERROR(H5E_DATASET, H5E_CANTDELETE, FAIL, "unable to delete attribute")
done: