aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wccp.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:47:47 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:47:47 +0000
commit2b96632c7537445a2c97856e4d5375bc3ba8b38d (patch)
tree356836a2f4be60de2f769615e60bacf6bf8399d1 /epan/dissectors/packet-wccp.c
parent50b63025e0095d3f9eef022494ca7bd933eb4328 (diff)
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26649 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-wccp.c')
-rw-r--r--epan/dissectors/packet-wccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wccp.c b/epan/dissectors/packet-wccp.c
index 36f8a01074..7d42908dae 100644
--- a/epan/dissectors/packet-wccp.c
+++ b/epan/dissectors/packet-wccp.c
@@ -471,7 +471,7 @@ dissect_wccp2_info(tvbuff_t *tvb, int offset, guint16 length,
break;
}
- ti = proto_tree_add_text(wccp_tree, tvb, offset, item_length + 4,
+ ti = proto_tree_add_text(wccp_tree, tvb, offset, item_length + 4, "%s",
val_to_str(type, info_type_vals, "Unknown info type (%u)"));
info_tree = proto_item_add_subtree(ti, ett);
proto_tree_add_text(info_tree, tvb, offset, 2,