diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5repack/h5repack.c | 9 | ||||
-rw-r--r-- | tools/h5repack/h5repack_refs.c | 7 |
2 files changed, 11 insertions, 5 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c index eabdb6c..8408778 100644 --- a/tools/h5repack/h5repack.c +++ b/tools/h5repack/h5repack.c @@ -416,9 +416,12 @@ static int check_options(pack_opt_t *options) */ if ( options->ublock_filename != NULL && options->ublock_size == 0 ) { - error_msg(progname, "user block size missing for file %s\n", - options->ublock_filename); - return -1; + if ( options->verbose ) + { + printf("Warning: user block size missing for file %s. Assigning a default size of 1024...\n", + options->ublock_filename); + options->ublock_size = 1024; + } } if ( options->ublock_filename == NULL && options->ublock_size != 0 ) diff --git a/tools/h5repack/h5repack_refs.c b/tools/h5repack/h5repack_refs.c index af29e87..82e8250 100644 --- a/tools/h5repack/h5repack_refs.c +++ b/tools/h5repack/h5repack_refs.c @@ -193,7 +193,8 @@ int do_copy_refobjs(hid_t fidin, goto error; if(options->verbose) { - + + printf(FORMAT_OBJ,"dset",travt->objs[i].name ); printf("object <%s> object reference created to <%s>\n", travt->objs[i].name, @@ -276,7 +277,9 @@ int do_copy_refobjs(hid_t fidin, goto error; if(options->verbose) { - + + + printf(FORMAT_OBJ,"dset",travt->objs[i].name ); printf("object <%s> region reference created to <%s>\n", travt->objs[i].name, |