summaryrefslogtreecommitdiffstats
path: root/src/H5E.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-08-18 16:34:27 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-08-18 16:34:27 (GMT)
commit9881fa7e34444fdd064306c87d994063b27770cb (patch)
tree47c586194f213004ce305d0706f396d65a554b36 /src/H5E.c
parent79a96d6a1e2ec8fad2e98ee7fe03474b7be169b6 (diff)
downloadhdf5-9881fa7e34444fdd064306c87d994063b27770cb.zip
hdf5-9881fa7e34444fdd064306c87d994063b27770cb.tar.gz
hdf5-9881fa7e34444fdd064306c87d994063b27770cb.tar.bz2
[svn-r7381] Purpose:
Code cleanup Description: Various cleanups resulting from running lint tool over H5F.c source module Platforms tested: FreeBSD 4.8 (sleipnir) too minor to require h5committest
Diffstat (limited to 'src/H5E.c')
-rw-r--r--src/H5E.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5E.c b/src/H5E.c
index 6760045..8bc4803 100644
--- a/src/H5E.c
+++ b/src/H5E.c
@@ -901,13 +901,13 @@ H5E_get_current_stack(void)
/* Increment the IDs to indicate that they are used in this stack */
if(H5I_inc_ref(current_error->cls_id)<0)
- HGOTO_ERROR(H5E_ERROR, H5E_CANTINC, NULL, "unable to decrement ref count on error class")
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINC, NULL, "unable to increment ref count on error class")
new_error->cls_id = current_error->cls_id;
if(H5I_inc_ref(current_error->maj_id)<0)
- HGOTO_ERROR(H5E_ERROR, H5E_CANTINC, NULL, "unable to decrement ref count on error message")
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINC, NULL, "unable to increment ref count on error message")
new_error->maj_id = current_error->maj_id;
if(H5I_inc_ref(current_error->min_id)<0)
- HGOTO_ERROR(H5E_ERROR, H5E_CANTINC, NULL, "unable to decrement ref count on error message")
+ HGOTO_ERROR(H5E_ERROR, H5E_CANTINC, NULL, "unable to increment ref count on error message")
new_error->min_id = current_error->min_id;
if((new_error->func_name = HDstrdup(current_error->func_name))==NULL)
HGOTO_ERROR (H5E_RESOURCE, H5E_NOSPACE, NULL, "memory allocation failed")