diff options
-rw-r--r-- | src/H5M.c | 4 | ||||
-rw-r--r-- | src/H5VLint.c | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -645,9 +645,9 @@ H5Mclose_async(const char *app_file, const char *app_func, unsigned app_line, hi if (H5I_MAP != H5I_get_type(map_id)) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a map ID") - /* Get dataset object's connector */ + /* Get map object's connector */ if (NULL == (vol_obj = H5VL_vol_object(map_id))) - HGOTO_ERROR(H5E_MAP, H5E_CANTGET, FAIL, "can't get VOL object for dataset") + HGOTO_ERROR(H5E_MAP, H5E_CANTGET, FAIL, "can't get VOL object for map") /* Prepare for possible asynchronous operation */ if (H5ES_NONE != es_id) { diff --git a/src/H5VLint.c b/src/H5VLint.c index 17578b8..b7823fb 100644 --- a/src/H5VLint.c +++ b/src/H5VLint.c @@ -1713,7 +1713,7 @@ H5VL_vol_object(hid_t id) obj_type = H5I_get_type(id); if (H5I_FILE == obj_type || H5I_GROUP == obj_type || H5I_ATTR == obj_type || H5I_DATASET == obj_type || - H5I_DATATYPE == obj_type) { + H5I_DATATYPE == obj_type || H5I_MAP == obj_type) { /* Get the object */ if (NULL == (obj = H5I_object(id))) HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, NULL, "invalid identifier") |