summaryrefslogtreecommitdiffstats
path: root/src/H5Znbit.c
diff options
context:
space:
mode:
authorXiaowen Wu <wuxiaowe@ncsa.uiuc.edu>2005-04-15 20:02:38 (GMT)
committerXiaowen Wu <wuxiaowe@ncsa.uiuc.edu>2005-04-15 20:02:38 (GMT)
commitc240263d2d1916cc7557dc2f2b7b39ea6c7bad55 (patch)
tree9c9b0f1462fe5cee5678afc45a3c69ea204cbbdc /src/H5Znbit.c
parent7edb30b429e55a3265012f14fb0ef12d77492099 (diff)
downloadhdf5-c240263d2d1916cc7557dc2f2b7b39ea6c7bad55.zip
hdf5-c240263d2d1916cc7557dc2f2b7b39ea6c7bad55.tar.gz
hdf5-c240263d2d1916cc7557dc2f2b7b39ea6c7bad55.tar.bz2
[svn-r10612] Purpose:
Bug fix. Description: One call to macro HGOTO_ERROR passes wrong value to ret_value. Solution: Change the value from zero to FAIL. Platforms tested: heping Misc. update:
Diffstat (limited to 'src/H5Znbit.c')
-rw-r--r--src/H5Znbit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Znbit.c b/src/H5Znbit.c
index 4e27c47..9a29659 100644
--- a/src/H5Znbit.c
+++ b/src/H5Znbit.c
@@ -720,7 +720,7 @@ H5Z_set_local_nbit(hid_t dcpl_id, hid_t type_id, hid_t space_id)
/* Allocate memory space for cd_values[] */
if(NULL==(cd_values = H5MM_malloc(cd_values_actual_nparms*sizeof(unsigned))))
- HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, 0, "memory allocation failed for cd_values[]")
+ HGOTO_ERROR(H5E_RESOURCE, H5E_NOSPACE, FAIL, "memory allocation failed for cd_values[]")
/* Get the filter's current parameters */
#ifdef H5_WANT_H5_V1_6_COMPAT