diff options
Diffstat (limited to 'src/H5G.c')
-rw-r--r-- | src/H5G.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |