Changeset 5ea8d25 for lib


Ignore:
Timestamp:
03/08/13 15:01:35 (9 years ago)
Author:
Shane Alcock <salcock@…>
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:
19526f3
Parents:
0989e3e
Message:
  • Actually fix this warning properly....
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_linux.c

    r0989e3e r5ea8d25  
    599599                        &FORMAT(libtrace->format_data)->max_order,
    600600                        error) != 0){
    601                 trace_set_err(libtrace, TRACE_ERR_INIT_FAILED, error);
     601                trace_set_err(libtrace, TRACE_ERR_INIT_FAILED, "Initialisation of packet MMAP failed: %s", error);
    602602                close(DATAOUT(libtrace)->fd);
    603603                free(libtrace->format_data);
     
    634634                        &DATAOUT(libtrace)->max_order,
    635635                        error) != 0){
    636                 trace_set_err_out(libtrace, TRACE_ERR_INIT_FAILED, error);
     636                trace_set_err_out(libtrace, TRACE_ERR_INIT_FAILED, "Initialisation of packet MMAP failed: %s", error);
    637637                close(DATAOUT(libtrace)->fd);
    638638                free(libtrace->format_data);
Note: See TracChangeset for help on using the changeset viewer.