From de0682627b39a6af2009b001791ddce4c333db68 Mon Sep 17 00:00:00 2001 From: Neil Fortner Date: Thu, 11 May 2017 18:05:01 -0500 Subject: Fix mistake in h5dsm_obj_info.c --- examples/h5dsm_obj_info.c | 2 ++ examples/h5dsm_test.out.exp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/h5dsm_obj_info.c b/examples/h5dsm_obj_info.c index 0df1abd..2cb78a5 100644 --- a/examples/h5dsm_obj_info.c +++ b/examples/h5dsm_obj_info.c @@ -59,6 +59,8 @@ int main(int argc, char *argv[]) { obj_str = "dataset"; else if(oinfo.type == H5O_TYPE_NAMED_DATATYPE) obj_str = "datatype"; + else if(oinfo.type == H5I_MAP) + obj_str = "map"; else obj_str = "unknown"; printf("Object type is %s\n", obj_str); diff --git a/examples/h5dsm_test.out.exp b/examples/h5dsm_test.out.exp index f9c59f9..5adc496 100644 --- a/examples/h5dsm_test.out.exp +++ b/examples/h5dsm_test.out.exp @@ -53,7 +53,7 @@ Success Opening object fileno = 10997552374967658951 addr = 0xc000000000000005 -Object type is unknown +Object type is map Success Opening snapshot 9 Checking if link exists... FALSE -- cgit v0.12