diff options
Diffstat (limited to 'pcap-septel.c')
-rw-r--r-- | pcap-septel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcap-septel.c b/pcap-septel.c index 61cd2f57..2d23b9c0 100644 --- a/pcap-septel.c +++ b/pcap-septel.c @@ -276,7 +276,7 @@ static int septel_setfilter(pcap_t *p, struct bpf_program *fp) { /* Make our private copy of the filter */ if (install_bpf_program(p, fp) < 0) { - snprintf(p->errbuf, sizeof(p->errbuf), + pcap_snprintf(p->errbuf, sizeof(p->errbuf), "malloc: %s", pcap_strerror(errno)); return -1; } |