summaryrefslogtreecommitdiffstats
path: root/examples/h5dsm_obj_info.c
diff options
context:
space:
mode:
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);