Changeset 848


Ignore:
Timestamp:
06/05/06 19:27:55 (7 years ago)
Author:
mglb1
Message:

Improve error checking and actually display an error message when tracemerge
fails to write a packet to the output file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/tracemerge/tracemerge.c

    r715 r848  
    126126                        continue; 
    127127 
    128                 trace_write_packet(output,packet[oldest]); 
     128                if (trace_write_packet(output,packet[oldest]) < 0) { 
     129                        trace_perror(output, "trace_write_packet"); 
     130                        break; 
     131                } 
    129132 
    130133                last_ts=oldest_ts; 
Note: See TracChangeset for help on using the changeset viewer.