aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nbns.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:11:57 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2008-10-31 15:11:57 +0000
commit00a29cec868ed438c860b79d88e0f9d0d08173de (patch)
tree41c9cc8212895bd68b8bcb172232f7d0e6a64c1e /epan/dissectors/packet-nbns.c
parent4c50b8ae34b235ebb339d90c820b37f02db485c2 (diff)
Fix some "format not a string literal and no format arguments" warnings.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26647 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-nbns.c')
-rw-r--r--epan/dissectors/packet-nbns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-nbns.c b/epan/dissectors/packet-nbns.c
index d5cf3ed5de..1c35d9550e 100644
--- a/epan/dissectors/packet-nbns.c
+++ b/epan/dissectors/packet-nbns.c
@@ -1015,7 +1015,7 @@ dissect_answer_records(tvbuff_t *tvb, int cur_off, int nbns_data_offset,
start_off = cur_off;
if (nbns_tree != NULL) {
- ti = proto_tree_add_text(nbns_tree, tvb, start_off, -1, name);
+ ti = proto_tree_add_text(nbns_tree, tvb, start_off, -1, "%s", name);
qatree = proto_item_add_subtree(ti, ett_nbns_ans);
}
while (count-- > 0) {