diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-15 16:48:48 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-15 16:48:48 (GMT) |
commit | 5112a79d81b500bc1fa9cad9580afb7de029ab0c (patch) | |
tree | 415d7ce9ddf6adf6503d363bae15ff30275b2584 /tools/h5repack/h5repack_verify.c | |
parent | be52cc0eba0149beb088a03c2a9d1530971f911b (diff) | |
download | hdf5-5112a79d81b500bc1fa9cad9580afb7de029ab0c.zip hdf5-5112a79d81b500bc1fa9cad9580afb7de029ab0c.tar.gz hdf5-5112a79d81b500bc1fa9cad9580afb7de029ab0c.tar.bz2 |
[svn-r8068] Purpose:
changed the text of a error message related to the fail of H5Fopen to " unable to open file "
Description:
Solution:
Platforms tested:
linux (small change )
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_verify.c')
-rw-r--r-- | tools/h5repack/h5repack_verify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_verify.c b/tools/h5repack/h5repack_verify.c index acede45..2283bc5 100644 --- a/tools/h5repack/h5repack_verify.c +++ b/tools/h5repack/h5repack_verify.c @@ -350,12 +350,12 @@ int h5repack_cmpdcpl(const char *fname1, /* Open the files */ if ((fid1=H5Fopen(fname1,H5F_ACC_RDONLY,H5P_DEFAULT))<0 ) { - printf("<%s>: No such file or directory\n", fname1 ); + printf("h5repack: <%s>: %s\n", fname1, H5FOPENERROR ); return -1; } if ((fid2=H5Fopen(fname2,H5F_ACC_RDONLY,H5P_DEFAULT))<0 ) { - printf("<%s>: No such file or directory\n", fname2 ); + printf("h5repack: <%s>: %s\n", fname2, H5FOPENERROR ); H5Fclose(fid1); return -1; } |