Changeset 9ce251c7 in mainline for uspace/lib/pcap/src/pcap.c
- Timestamp:
- 2024-12-13T08:32:55Z (10 months ago)
- Children:
- 8765039
- Parents:
- 91042127
- git-author:
- Nataliia Korop <n.corop08@…> (2024-03-10 09:38:44)
- git-committer:
- Nataliia Korop <n.corop08@…> (2024-12-13 08:32:55)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcap/src/pcap.c
r91042127 r9ce251c7 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 )44 37 45 38 #include "pcap.h" … … 108 101 if (writer->data == NULL) { 109 102 rc = EINVAL; 110 LOGGER("Failed to create %s: %s.", filename, str_error(rc));111 103 return rc; 112 104 }
Note:
See TracChangeset
for help on using the changeset viewer.