summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeil Fortner <nfortne2@hdfgroup.org>2017-05-11 23:05:01 (GMT)
committerNeil Fortner <nfortne2@hdfgroup.org>2017-05-11 23:05:01 (GMT)
commitde0682627b39a6af2009b001791ddce4c333db68 (patch)
tree72ac283892ce5aa37d55f3333b320da9204764f0
parentfaecad8247a6bd9f30e40393379357a48b3d0bc4 (diff)
downloadhdf5-de0682627b39a6af2009b001791ddce4c333db68.zip
hdf5-de0682627b39a6af2009b001791ddce4c333db68.tar.gz
hdf5-de0682627b39a6af2009b001791ddce4c333db68.tar.bz2
Fix mistake in h5dsm_obj_info.c
-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