Packets are saved *to* a file, not *at* it. Signed-off-by: Stefano Brivio <sbrivio(a)redhat.com> --- pcap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcap.c b/pcap.c index 9c617ce..a95a5ee 100644 --- a/pcap.c +++ b/pcap.c @@ -207,7 +207,7 @@ void pcap_init(struct ctx *c) return; } - info("Saving packet capture at %s", c->pcap); + info("Saving packet capture to %s", c->pcap); if (write(pcap_fd, &pcap_hdr, sizeof(pcap_hdr)) < 0) warn("Cannot write PCAP header: %s", strerror(errno)); -- 2.35.1