summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/hdf2gif.c
diff options
context:
space:
mode:
authorRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2005-02-02 21:43:15 (GMT)
committerRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2005-02-02 21:43:15 (GMT)
commitd0ced67f526acb4491269e8e66799e9fb81115ac (patch)
tree47bb99bab0ff6db45a5f5bf19075c268e19effad /hl/tools/gif2h5/hdf2gif.c
parentc9c1277401eefcee99cd39ce77bb70c7c4643bf3 (diff)
downloadhdf5-d0ced67f526acb4491269e8e66799e9fb81115ac.zip
hdf5-d0ced67f526acb4491269e8e66799e9fb81115ac.tar.gz
hdf5-d0ced67f526acb4491269e8e66799e9fb81115ac.tar.bz2
[svn-r9924] Purpose:
Bug fix (#56) Description: h52gif creash for data > 1 byt Solution: check datatype and return with error message if not 1 byte int Platforms tested: shanti,verbena Misc. update:
Diffstat (limited to 'hl/tools/gif2h5/hdf2gif.c')
-rw-r--r--hl/tools/gif2h5/hdf2gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/hdf2gif.c b/hl/tools/gif2h5/hdf2gif.c
index ef82090..51ec144 100644
--- a/hl/tools/gif2h5/hdf2gif.c
+++ b/hl/tools/gif2h5/hdf2gif.c
@@ -211,7 +211,7 @@ int main(int argc , char **argv)
*/
if (ReadHDF(&Image, GlobalPalette, dim_sizes, HDFName,
image_name_arr[idx], pal_name_arr[idx]) < 0) {
- fprintf(stderr , "Unable to read HDF file\n");
+ fprintf(stderr , "Unable to read image %s from HDF file %s\n",image_name_arr[idx],HDFName);
return -1;
}