summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2004-09-29 15:28:25 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2004-09-29 15:28:25 (GMT)
commitdff1653a4f36ded37ed426277068d3db53aa4be2 (patch)
tree23b43104b9037a6a6e1ec9bd76f71ad2e95872a3 /src/H5G.c
parent093c14b8db58051b116b4f39dc65247a0c637ad8 (diff)
downloadhdf5-dff1653a4f36ded37ed426277068d3db53aa4be2.zip
hdf5-dff1653a4f36ded37ed426277068d3db53aa4be2.tar.gz
hdf5-dff1653a4f36ded37ed426277068d3db53aa4be2.tar.bz2
[svn-r9335]
Purpose: Bug fix Description: Fix bugs found by daily tests. Platforms tested: copper
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5G.c b/src/H5G.c
index e78a457..6857244 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -303,7 +303,7 @@ H5Gopen(hid_t loc_id, const char *name)
HGOTO_ERROR(H5E_SYM, H5E_NOTFOUND, FAIL, "group not found");
/* Open the group */
- if ((grp = H5G_open(&ent, dxpl_id)) <0)
+ if ((grp = H5G_open(&ent, dxpl_id)) ==NULL)
HGOTO_ERROR(H5E_SYM, H5E_CANTOPENOBJ, FAIL, "unable to open group");
/* Register an atom for the group */