diff options
-rw-r--r-- | tools/h5diff/h5trav.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5diff/h5trav.c b/tools/h5diff/h5trav.c index ba51285..b804746 100644 --- a/tools/h5diff/h5trav.c +++ b/tools/h5diff/h5trav.c @@ -159,7 +159,7 @@ static herr_t opget_info( hid_t loc_id, const char *name, void *op_data) H5G_stat_t statbuf; if (H5Gget_objinfo( loc_id, name, FALSE, &statbuf) < 0 ) - return 1; + return -1; ((info_t *)op_data)->type = statbuf.type; ((info_t *)op_data)->name = (char *)HDstrdup(name); |