From 5c0426981eb97dc9836d0c7b50f6c102b9359ed9 Mon Sep 17 00:00:00 2001 From: Stefano Brivio Date: Tue, 15 Mar 2022 01:00:52 +0100 Subject: pcap: Fix mistake in printed string Packets are saved *to* a file, not *at* it. Signed-off-by: Stefano Brivio --- 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)); -- cgit v1.2.3