aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pflog.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-pflog.c')
-rw-r--r--epan/dissectors/packet-pflog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pflog.c b/epan/dissectors/packet-pflog.c
index 2412068a8d..197b166a6c 100644
--- a/epan/dissectors/packet-pflog.c
+++ b/epan/dissectors/packet-pflog.c
@@ -180,10 +180,10 @@ dissect_pflog(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
hdrlen = BPF_WORDALIGN(pflogh.length);
if (pflogh.subrulenr == (guint32) -1)
- snprintf(rulestr, sizeof(rulestr), "%u",
+ g_snprintf(rulestr, sizeof(rulestr), "%u",
pflogh.rulenr);
else
- snprintf(rulestr, sizeof(rulestr), "%u.%s.%u",
+ g_snprintf(rulestr, sizeof(rulestr), "%u.%s.%u",
pflogh.rulenr, pflogh.ruleset, pflogh.subrulenr);
if (hdrlen < MIN_PFLOG_HDRLEN) {