From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Brivio To: passt-dev@passt.top Subject: [PATCH 02/24] pcap: Fix mistake in printed string Date: Fri, 25 Mar 2022 23:52:38 +0100 Message-ID: <20220325225300.2803584-3-sbrivio@redhat.com> In-Reply-To: <20220325225300.2803584-1-sbrivio@redhat.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8970725716427027080==" --===============8970725716427027080== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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)); -- 2.35.1 --===============8970725716427027080==--