summaryrefslogtreecommitdiffstats
path: root/examples/h5dsm_obj_info.c
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 /examples/h5dsm_obj_info.c
parentfaecad8247a6bd9f30e40393379357a48b3d0bc4 (diff)
downloadhdf5-de0682627b39a6af2009b001791ddce4c333db68.zip
hdf5-de0682627b39a6af2009b001791ddce4c333db68.tar.gz
hdf5-de0682627b39a6af2009b001791ddce4c333db68.tar.bz2
Fix mistake in h5dsm_obj_info.c
Diffstat (limited to 'examples/h5dsm_obj_info.c')
-rw-r--r--examples/h5dsm_obj_info.c2
1 files changed, 2 insertions, 0 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);