Changeset 64444f9


Ignore:
Timestamp:
05/25/06 14:42:13 (15 years ago)
Author:
Perry Lorier <perry@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
961f687
Parents:
0e9b9f8
Message:

Don't use errno, used the error number passed in, this may fix a few
"blagh blabh: Success" error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    r440a60f r64444f9  
    240240                vsnprintf(buf,sizeof(buf),msg,va);
    241241                snprintf(trace->err.problem,sizeof(trace->err.problem),
    242                                 "%s: %s",buf,strerror(errno));
     242                                "%s: %s",buf,strerror(errcode));
    243243        } else {
    244244                vsnprintf(trace->err.problem,sizeof(trace->err.problem),
Note: See TracChangeset for help on using the changeset viewer.