IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24960


Ignore:
Timestamp:
Jul 31, 2009, 3:17:55 PM (17 years ago)
Author:
Paul Price
Message:

Fixing error message to be a bit more helpful.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFits.c

    r24285 r24960  
    214214                errorMsg = errorBuf;
    215215# endif
    216                 psError (PS_ERR_IO, true, "Failed to delete a previously-existing file: %s", errorMsg);
    217                 fprintf (stderr, "errno: %d, %s, %s : %lx, %lx\n", thisErrno, errorMsg, errorBuf, (long int) errorMsg, (long int) errorBuf);
     216                psError(PS_ERR_IO, true, "Failed to delete a previously-existing file (%s), error %d: %s",
     217                        name, thisErrno, errorMsg);
     218                //fprintf(stderr, "errno: %d, %s, %s : %lx, %lx\n", thisErrno, errorMsg, errorBuf, (long int) errorMsg, (long int) errorBuf);
    218219                return NULL;
    219220            }
Note: See TracChangeset for help on using the changeset viewer.