aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/m2m
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-31 17:27:51 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-31 17:27:51 +0000
commit94e9e2b1ec8fe12b927fb0ec09b976982c5a5369 (patch)
tree61564ff05bf6ae519f338ce421d74eecceb6b287 /plugins/m2m
parent41c04a5599f5973358b5b9ef5bfc135f10baceae (diff)
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26652
Diffstat (limited to 'plugins/m2m')
-rw-r--r--plugins/m2m/packet-m2m.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/m2m/packet-m2m.c b/plugins/m2m/packet-m2m.c
index 99a4776be5..9fc0155bb9 100644
--- a/plugins/m2m/packet-m2m.c
+++ b/plugins/m2m/packet-m2m.c
@@ -463,7 +463,7 @@ static void dissect_m2m(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* get the TLV value offset */
tlv_offset = get_tlv_value_offset(&m2m_tlv_info);
/* display TLV type */
- ti = proto_tree_add_protocol_format(m2m_tree, proto_m2m, tvb, offset, (tlv_len + tlv_offset), val_to_str(tlv_type, tlv_name, "Unknown TLV"));
+ ti = proto_tree_add_protocol_format(m2m_tree, proto_m2m, tvb, offset, (tlv_len + tlv_offset), "%s", val_to_str(tlv_type, tlv_name, "Unknown TLV"));
/* add TLV subtree */
tlv_tree = proto_item_add_subtree(ti, ett_m2m_tlv);
/* update the offset */