summaryrefslogtreecommitdiffstats
path: root/src/H5P.c
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-10-15 19:41:08 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-10-15 19:41:08 (GMT)
commitdda41213de9a59d2522de5459299bc5c65fef8a9 (patch)
tree94df9bd8d8fe1fd9bbde8d311b6958fa7ef2840c /src/H5P.c
parenta3dfc8e0c571373a8d96a9309b1579655c4e375a (diff)
downloadhdf5-dda41213de9a59d2522de5459299bc5c65fef8a9.zip
hdf5-dda41213de9a59d2522de5459299bc5c65fef8a9.tar.gz
hdf5-dda41213de9a59d2522de5459299bc5c65fef8a9.tar.bz2
[svn-r4545]
Purpose: Bug Fix Description: Function was returning NULL instead of FAIL Solution: Returned FAIL instead. Platforms tested: Linux
Diffstat (limited to 'src/H5P.c')
-rw-r--r--src/H5P.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5P.c b/src/H5P.c
index 775ba2b..57414ff 100644
--- a/src/H5P.c
+++ b/src/H5P.c
@@ -7025,7 +7025,7 @@ H5P_copy_prop_plist(hid_t dst_id, hid_t src_id, const char *name)
/* Call property creation callback, if it exists */
if(new_prop->create) {
if((new_prop->create)(new_prop->name,new_prop->size,new_prop->value)<0)
- HGOTO_ERROR (H5E_PLIST, H5E_CANTINIT, NULL,"Can't initialize property");
+ HGOTO_ERROR (H5E_PLIST, H5E_CANTINIT, FAIL,"Can't initialize property");
} /* end if */
/* Insert property into property list class */