Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcap/src/pcap.c

    r6eab537d r86f862c  
    3535 * @brief Headers and functions for .pcap file and packets to be dumped
    3636 */
     37
     38#define LOGGER(msg, ...) \
     39     fprintf(stderr, \
     40         "[PCAP %s:%d]: " msg "\n", \
     41         __FILE__, __LINE__, \
     42         ##__VA_ARGS__\
     43     )
    3744
    3845#include "pcap.h"
     
    101108        if (writer->data == NULL) {
    102109                rc = EINVAL;
     110                LOGGER("Failed to create %s: %s.", filename, str_error(rc));
    103111                return rc;
    104112        }
Note: See TracChangeset for help on using the changeset viewer.