diff options
Diffstat (limited to 'src/H5Adense.c')
-rw-r--r-- | src/H5Adense.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Adense.c b/src/H5Adense.c index 3258019..d235512 100644 --- a/src/H5Adense.c +++ b/src/H5Adense.c @@ -662,7 +662,7 @@ H5A_dense_insert(H5F_t *f, hid_t dxpl_id, const H5O_t *oh, unsigned mesg_flags, /* Get the shared information for the attribute */ HDmemset(&sh_mesg, 0, sizeof(sh_mesg)); - if(H5O_attr_get_share(attr, &sh_mesg) < 0) + if(NULL == H5O_attr_get_share(attr, &sh_mesg)) HGOTO_ERROR(H5E_ATTR, H5E_BADMESG, FAIL, "can't get shared message") /* Use heap ID for shared message heap */ |