summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/h5dsm_obj_info.c2
-rw-r--r--examples/h5dsm_test.out.exp2
2 files changed, 3 insertions, 1 deletions
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