summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-12 18:27:31 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-12 18:27:31 (GMT)
commit2bf7a8b00ad6fdae9b8ab1a74132ddb4f717952e (patch)
tree06566729f5cc267d62bd9d7fd75b26449eca9dff
parente4dd5fdab325e312391916c0c95225bd4f72fda8 (diff)
downloadhdf5-2bf7a8b00ad6fdae9b8ab1a74132ddb4f717952e.zip
hdf5-2bf7a8b00ad6fdae9b8ab1a74132ddb4f717952e.tar.gz
hdf5-2bf7a8b00ad6fdae9b8ab1a74132ddb4f717952e.tar.bz2
[svn-r12754] Description:
Correct bug with retrieving the metadata block size instead of the "small data" block size with H5Pget_small_data_size(). Tested on: None, just eyeballed, very minor.
-rw-r--r--src/H5Pfapl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pfapl.c b/src/H5Pfapl.c
index ffbc844..671eba0 100644
--- a/src/H5Pfapl.c
+++ b/src/H5Pfapl.c
@@ -1555,7 +1555,7 @@ H5Pget_small_data_block_size(hid_t plist_id, hsize_t *size/*out*/)
/* Get values */
if (size) {
- if(H5P_get(plist, H5F_ACS_META_BLOCK_SIZE_NAME, size) < 0)
+ if(H5P_get(plist, H5F_ACS_SDATA_BLOCK_SIZE_NAME, size) < 0)
HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't get 'small data' block size");
} /* end if */