Compare commits

..

No commits in common. "d02412720b2a9dc006bfde51b6528628829885de" and "7d562340086dc3f33fc36882daeea722a949c27d" have entirely different histories.

View file

@ -54,11 +54,7 @@ static int init_pcap_logger(void *data) {
} }
static int deinit_pcap_logger(void) { static int deinit_pcap_logger(void) {
#if defined(_POSIX_SYNCHRONIZED_IO) && (_POSIX_SYNCHRONIZED_IO > 0) fdatasync(pcap_fd);
fdatasync(pcap_fd);
#else
fsync(pcap_fd);
#endif
close(pcap_fd); close(pcap_fd);
return 0; return 0;
} }