aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-nbns.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-31 15:11:57 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-31 15:11:57 +0000
commitbd08ae7ee6d05ef7ec145f68cc1471b2178f0b2f (patch)
tree41c9cc8212895bd68b8bcb172232f7d0e6a64c1e /epan/dissectors/packet-nbns.c
parentd0e33bc3c5559566c42f6269aa2bb8b8eccf2086 (diff)
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26647
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) {