summaryrefslogtreecommitdiffstats
path: root/tools/gifconv/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 /tools/gifconv/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 'tools/gifconv/hdf2gif.c')
-rw-r--r--tools/gifconv/hdf2gif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gifconv/hdf2gif.c b/tools/gifconv/hdf2gif.c
index ef82090..51ec144 100644
--- a/tools/gifconv/hdf2gif.c
+++ b/tools/gifconv/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;
}