summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-10 15:47:47 (GMT)
committerMohamad Chaarawi <chaarawi@hdfgroup.org>2012-07-10 15:47:47 (GMT)
commitdee5636a90a214926d4b9fb24e671921a3e3c4bc (patch)
tree4effad84050ec2463b2325a7902bcac45b53c44c /src/H5D.c
parent041e56526287225fe5675a5a2096692749cdf66d (diff)
downloadhdf5-dee5636a90a214926d4b9fb24e671921a3e3c4bc.zip
hdf5-dee5636a90a214926d4b9fb24e671921a3e3c4bc.tar.gz
hdf5-dee5636a90a214926d4b9fb24e671921a3e3c4bc.tar.bz2
[svn-r22542] update H5I_register_type usage to take a free_aux function callback
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 270befc..3b87e3a 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -94,7 +94,7 @@ H5D__init_pub_interface(void)
FUNC_ENTER_STATIC
/* Initialize the atom group for the dataset IDs */
- if(H5I_register_type2(H5I_DATASET, (size_t)H5I_DATASETID_HASHSIZE, H5D_RESERVED_ATOMS,
+ if(H5I_register_type(H5I_DATASET, (size_t)H5I_DATASETID_HASHSIZE, H5D_RESERVED_ATOMS,
NULL, (H5I_free2_t)H5D_close_dataset)<H5I_FILE)
HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, FAIL, "unable to initialize interface")