pcap: Fix mistake in printed string

Packets are saved *to* a file, not *at* it.

Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
This commit is contained in:
Stefano Brivio 2022-03-15 01:00:52 +01:00
parent d2e40bb8d9
commit 5c0426981e

2
pcap.c
View file

@ -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));