aboutsummaryrefslogtreecommitdiff
path: root/bpf_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'bpf_image.c')
-rw-r--r--bpf_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bpf_image.c b/bpf_image.c
index a7beb1f4..01ec536d 100644
--- a/bpf_image.c
+++ b/bpf_image.c
@@ -306,13 +306,13 @@ bpf_image(p, n)
fmt = "";
break;
}
- (void)snprintf(operand, sizeof operand, fmt, v);
+ (void)pcap_snprintf(operand, sizeof operand, fmt, v);
if (BPF_CLASS(p->code) == BPF_JMP && BPF_OP(p->code) != BPF_JA) {
- (void)snprintf(image, sizeof image,
+ (void)pcap_snprintf(image, sizeof image,
"(%03d) %-8s %-16s jt %d\tjf %d",
n, op, operand, n + 1 + p->jt, n + 1 + p->jf);
} else {
- (void)snprintf(image, sizeof image,
+ (void)pcap_snprintf(image, sizeof image,
"(%03d) %-8s %s",
n, op, operand);
}