Changes in uspace/lib/pcap/src/pcap.c [6eab537d:86f862c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcap/src/pcap.c
r6eab537d r86f862c 35 35 * @brief Headers and functions for .pcap file and packets to be dumped 36 36 */ 37 38 #define LOGGER(msg, ...) \ 39 fprintf(stderr, \ 40 "[PCAP %s:%d]: " msg "\n", \ 41 __FILE__, __LINE__, \ 42 ##__VA_ARGS__\ 43 ) 37 44 38 45 #include "pcap.h" … … 101 108 if (writer->data == NULL) { 102 109 rc = EINVAL; 110 LOGGER("Failed to create %s: %s.", filename, str_error(rc)); 103 111 return rc; 104 112 }
Note:
See TracChangeset
for help on using the changeset viewer.