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:
parent
d2e40bb8d9
commit
5c0426981e
1 changed files with 1 additions and 1 deletions
2
pcap.c
2
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));
|
||||
|
|
Loading…
Reference in a new issue