aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-mq.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-10-31 15:47:47 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-10-31 15:47:47 +0000
commit58e2d7a0d6b075b7b8dc6234604ed8bdeefd0833 (patch)
tree356836a2f4be60de2f769615e60bacf6bf8399d1 /epan/dissectors/packet-mq.c
parente6a22e689e2577eb9a3b6f77de22ac540795a1a3 (diff)
Fix some "format not a string literal and no format arguments" warnings.
svn path=/trunk/; revision=26649
Diffstat (limited to 'epan/dissectors/packet-mq.c')
-rw-r--r--epan/dissectors/packet-mq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mq.c b/epan/dissectors/packet-mq.c
index a1e52ca638..701f5f2291 100644
--- a/epan/dissectors/packet-mq.c
+++ b/epan/dissectors/packet-mq.c
@@ -2279,7 +2279,7 @@ dissect_mq_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
structId = tvb_get_ntohl(tvb, offset);
if (tree)
{
- proto_tree_add_text(mqroot_tree, tvb, offset, -1, val_to_str(structId, mq_structid_vals, "Unknown (0x%08x)"));
+ proto_tree_add_text(mqroot_tree, tvb, offset, -1, "%s", val_to_str(structId, mq_structid_vals, "Unknown (0x%08x)"));
}
}
}