Changeset 6eab537d in mainline for uspace/lib/pcap/src/pcap.c


Ignore:
Timestamp:
2024-03-10T09:38:44Z (15 months ago)
Author:
Nataliia Korop <n.corop08@…>
Children:
e846bec
Parents:
192019f
Message:

moved to nic, fixed all except addressing

File:
1 edited

Legend:

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

    r192019f r6eab537d  
    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      )
    4437
    4538#include "pcap.h"
     
    108101        if (writer->data == NULL) {
    109102                rc = EINVAL;
    110                 LOGGER("Failed to create %s: %s.", filename, str_error(rc));
    111103                return rc;
    112104        }
Note: See TracChangeset for help on using the changeset viewer.