IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27078


Ignore:
Timestamp:
Feb 25, 2010, 11:29:41 AM (16 years ago)
Author:
Paul Price
Message:

Correct error code for 'unable to open statistics file'.

Location:
trunk/ppSub/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSub.c

    r27077 r27078  
    5050
    5151    if (!ppSubArguments(argc, argv, data)) {
    52         psError(PPSUB_ERR_ARGUMENTS, false, "Error reading arguments.");
     52        psError(psErrorCodeLast(), false, "Error reading arguments.");
    5353        goto die;
    5454    }
  • trunk/ppSub/src/ppSubArguments.c

    r26076 r27078  
    157157    if (threads > 0) {
    158158        if (!psThreadPoolInit(threads)) {
    159             psError(PS_ERR_UNKNOWN, false, "Unable to setup %d threads", threads);
     159            psError(PS_ERR_PROG, false, "Unable to setup %d threads", threads);
    160160            return false;
    161161        }
Note: See TracChangeset for help on using the changeset viewer.