Changeset 1170


Ignore:
Timestamp:
Feb 4, 2004, 11:35:57 PM (22 years ago)
Author:
bird
Message:

~0 TS handling.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/src/lib/sys/libclog.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.2
    r1169 r1170  
    237237        return;
    238238
    239     cch = snprintf(pszMsg, CCHTMPMSGBUFFER, "%08x %02x Msg  %s (%2d ms): ", uTS, getTid(), pszFunction, uTS - uEnterTS);
     239    if (uEnterTS != ~0)
     240        cch = snprintf(pszMsg, CCHTMPMSGBUFFER, "%08x %02x Msg  %s (%2d ms): ", uTS, getTid(), pszFunction, uTS - uEnterTS);
     241    else
     242        cch = snprintf(pszMsg, CCHTMPMSGBUFFER, "%08x %02x Msg  %s: ", uTS, getTid(), pszFunction);
    240243    va_start(args, pszFormat);
    241244    cch += vsnprintf(pszMsg + cch, CCHTMPMSGBUFFER - cch, pszFormat, args);
Note: See TracChangeset for help on using the changeset viewer.